Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit cbd5b9f

Browse files
authored
Dashboards: fix HTTP request failures counter (#153)
1 parent 0afae1a commit cbd5b9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

grafana/dashboards/k6-prometheus-native-histogram.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@
411411
"uid": "${DS_PROMETHEUS}"
412412
},
413413
"editorMode": "code",
414-
"expr": "sum(k6_http_reqs_total{testid=~\"$testid\", expected_response=\"true\"})",
414+
"expr": "sum(k6_http_reqs_total{testid=~\"$testid\", expected_response=\"false\"})",
415415
"instant": false,
416416
"legendFormat": "__auto",
417417
"range": true,

grafana/dashboards/k6-prometheus.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@
411411
"uid": "${DS_PROMETHEUS}"
412412
},
413413
"editorMode": "code",
414-
"expr": "sum(k6_http_reqs_total{testid=~\"$testid\", expected_response=\"true\"})",
414+
"expr": "sum(k6_http_reqs_total{testid=~\"$testid\", expected_response=\"false\"})",
415415
"instant": false,
416416
"legendFormat": "__auto",
417417
"range": true,

0 commit comments

Comments
 (0)