Skip to content

Commit

Permalink
fix: express gateway metrics should be summed over instances.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbourianes-kalisio committed Sep 9, 2021
1 parent f35ec95 commit f17bd0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/grafana/provisioning/dashboards/api-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"targets": [
{
"exemplar": true,
"expr": "rate(eg{api_endpoint=~\"$endpoint\",consumer=~\"$consumer\",status_code=~\"$status_code\"}[30s])",
"expr": "sum without(instance, docker_node) (rate(eg{api_endpoint=~\"$endpoint\",consumer=~\"$consumer\",status_code=~\"$status_code\"}[30s]))",
"interval": "",
"legendFormat": "{{api_endpoint}} ({{status_code}})",
"queryType": "randomWalk",
Expand Down

0 comments on commit f17bd0a

Please sign in to comment.