Skip to content

Commit

Permalink
fix: filter by probe on data transferred panels for scripted checks
Browse files Browse the repository at this point in the history
  • Loading branch information
VikaCep committed Dec 20, 2024
1 parent 08b07c5 commit e2081ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scenes/SCRIPTED/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: `probe_data_sent_bytes{job="$job", instance="$instance"}`,
expr: `probe_data_sent_bytes{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: `probe_data_received_bytes{job="$job", instance="$instance"}`,
expr: `probe_data_received_bytes{probe=~"$probe", job="$job", instance="$instance"}`,
instant: false,
legendFormat: '{{ probe }}',
range: true,
Expand Down

0 comments on commit e2081ac

Please sign in to comment.