Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: filter by probe on data transferred and assertions panels for browser and scripted checks #1030

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

VikaCep
Copy link
Contributor

@VikaCep VikaCep commented Dec 20, 2024

Closes #1029

The data transferred and assertions panels in the Browser and Scripted dashboards aren't taking into account filtered probes. This PR fixes that.

Since in dev we only have one running probe location, I've validated the queries work as expected using Explorer in my prod account:

Before setting the probe filter (as it currently works in the dashboards):

Data sent chart:
image

Data received chart:
image

Success rate chart:
image

After setting the probe filter (after this PR implementation):

Data sent chart:
image

Data received chart:
image

Success rate chart:
image

@VikaCep VikaCep self-assigned this Dec 20, 2024
@VikaCep VikaCep changed the title fix: filter by probe on data transferred panels for browser checks fix: filter by probe on data transferred panels for browser and scripted checks Dec 20, 2024
@VikaCep VikaCep changed the title fix: filter by probe on data transferred panels for browser and scripted checks fix: filter by probe on data transferred and assertions panels for browser and scripted checks Jan 6, 2025
@VikaCep VikaCep marked this pull request as ready for review January 6, 2025 19:50
@VikaCep VikaCep requested a review from a team as a code owner January 6, 2025 19:50
@VikaCep VikaCep requested a review from ckbedwell January 6, 2025 19:50
@ckbedwell
Copy link
Contributor

This is great but I've noticed there are some other panels that also aren't taking into account the probe filter so think we should add the probe filter to them, too:

Scripted
Uptime
Assertions
Results by URL


Scripted dashboard with a non-existent probe as the filter. Some panels are still showing data.

Browser
Uptime
FCP
LCP
TTFB
CLS
FID
INP
Metrics by URL
Assertions

Browser dashboard with a non-existent probe as the filter. Some panels are still showing data.

For scripted:
- Uptime
- Assertions
- Results by URL

For browser:
- Uptime
- FCP, LCP, TTFB, CLS, FID, INP
- Page load p75
- CLS p75
- Input response time p75
- Metrics by URL
- Assertions
@VikaCep
Copy link
Contributor Author

VikaCep commented Jan 8, 2025

Great catch, I've updated all panels accordingly to take the probe into account:

Scripted checks dashboard filtering by one probe location:

image
image
image

Browser checks dashboard filtering by one probe location:
image
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Browser Dashboard doesn't apply probe filter to Assertions, Data sent/recieved.
2 participants