Skip to content

Commit

Permalink
fix: filter by probe on data transferred panels for browser checks
Browse files Browse the repository at this point in the history
  • Loading branch information
VikaCep committed Dec 20, 2024
1 parent b9d63f5 commit 08b07c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scenes/BROWSER/dataTransferred.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function getSentQueryRunner(metrics: DataSourceRef) {
datasource: metrics,
queries: [
{
expr: `sum by (probe) (probe_browser_data_sent{job="$job", instance="$instance"})`,
expr: `sum by (probe) (probe_browser_data_sent{probe=~"$probe", job="$job", instance="$instance"})`,
instant: false,
legendFormat: '{{ probe }}',
range: true,
Expand All @@ -23,7 +23,7 @@ function getReceivedQueryRunner(metrics: DataSourceRef) {
datasource: metrics,
queries: [
{
expr: `sum by (probe) (probe_browser_data_received{job="$job", instance="$instance"})`,
expr: `sum by (probe) (probe_browser_data_received{probe=~"$probe", job="$job", instance="$instance"})`,
instant: false,
legendFormat: '{{ probe }}',
range: true,
Expand Down

0 comments on commit 08b07c5

Please sign in to comment.