Use rate prometheus query

This commit is contained in:
Kirill Fedoseev 2022-05-23 09:58:14 +04:00
parent 0700755f4b
commit b13790aefe
1 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
"editable": true, "editable": true,
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"iteration": 1653133345364, "iteration": 1653254191537,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -96,7 +96,7 @@
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
"expr": "increase(monitor_rpc_request_results_total{status!=\"ok\"}[20m])", "expr": "rate(monitor_rpc_request_results_total{status!=\"ok\"}[1m])",
"interval": "", "interval": "",
"legendFormat": "{{status}} - {{chain_id}} - {{query}}", "legendFormat": "{{status}} - {{chain_id}} - {{query}}",
"refId": "A" "refId": "A"
@ -413,5 +413,5 @@
"timezone": "", "timezone": "",
"title": "Monitor health dashboard", "title": "Monitor health dashboard",
"uid": "7fnHj1Hnz", "uid": "7fnHj1Hnz",
"version": 1 "version": 2
} }