Skip to content

Commit

Permalink
[Grafana] Fix API Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarciani committed Dec 1, 2024
1 parent 7e36924 commit ba4deae
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions grafana/dashboards/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@
"uid": "PF1524B2611758E37"
},
"exemplar": true,
"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SUCCESS\"}[$__rate_interval]))",
"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SUCCESS\"}[1m])*60)",
"format": "time_series",
"hide": false,
"interval": "",
Expand All @@ -780,7 +780,7 @@
"uid": "PF1524B2611758E37"
},
"exemplar": true,
"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SERVER_ERROR\"}[$__rate_interval]))",
"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SERVER_ERROR\"}[1m])*60)",
"format": "time_series",
"hide": false,
"interval": "",
Expand All @@ -796,7 +796,7 @@
"uid": "PF1524B2611758E37"
},
"exemplar": true,
"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"CLIENT_ERROR\"}[$__rate_interval]))",
"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"CLIENT_ERROR\"}[1m])*60)",
"format": "time_series",
"hide": false,
"interval": "",
Expand Down Expand Up @@ -922,7 +922,7 @@
"uid": "PF1524B2611758E37"
},
"exemplar": true,
"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SERVER_ERROR\"}[$__rate_interval])) by(exception)",
"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SERVER_ERROR\"}[1m])*60) by(exception)",
"format": "time_series",
"hide": false,
"interval": "",
Expand Down Expand Up @@ -1048,7 +1048,7 @@
"uid": "PF1524B2611758E37"
},
"exemplar": true,
"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"CLIENT_ERROR\"}[$__rate_interval])) by(exception)",
"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"CLIENT_ERROR\"}[1m])*60) by(exception)",
"format": "time_series",
"hide": false,
"interval": "",
Expand Down Expand Up @@ -1178,7 +1178,7 @@
"uid": "PF1524B2611758E37"
},
"exemplar": true,
"expr": "sum(rate(http_server_requests_seconds_sum{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SUCCESS\"}[$__rate_interval])) / sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SUCCESS\"}[$__rate_interval]))",
"expr": "sum(rate(http_server_requests_seconds_sum{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SUCCESS\"}[1m])*60) / sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SUCCESS\"}[1m])*60)",
"format": "time_series",
"hide": false,
"interval": "",
Expand All @@ -1192,7 +1192,7 @@
"uid": "PF1524B2611758E37"
},
"exemplar": true,
"expr": "sum(rate(http_server_requests_seconds_sum{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SERVER_ERROR\"}[$__rate_interval])) / sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SERVER_ERROR\"}[$__rate_interval]))",
"expr": "sum(rate(http_server_requests_seconds_sum{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SERVER_ERROR\"}[1m])*60) / sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"SERVER_ERROR\"}[1m])*60)",
"format": "time_series",
"hide": false,
"interval": "",
Expand All @@ -1206,7 +1206,7 @@
"uid": "PF1524B2611758E37"
},
"exemplar": true,
"expr": "sum(rate(http_server_requests_seconds_sum{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"CLIENT_ERROR\"}[$__rate_interval])) / sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"CLIENT_ERROR\"}[$__rate_interval]))",
"expr": "sum(rate(http_server_requests_seconds_sum{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"CLIENT_ERROR\"}[1m])*60) / sum(rate(http_server_requests_seconds_count{application=\"$application\", stack=\"$stack\", region=\"$region\", operation=\"$operation\", outcome=\"CLIENT_ERROR\"}[1m])*60)",
"format": "time_series",
"hide": false,
"interval": "",
Expand Down

0 comments on commit ba4deae

Please sign in to comment.