Skip to content

Commit

Permalink
Also includ 3.. in panel
Browse files Browse the repository at this point in the history
  • Loading branch information
adeveloper-wq committed Mar 15, 2024
1 parent e8d1341 commit a87b4b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provisioning/dashboards/traefik.json
Original file line number Diff line number Diff line change
Expand Up @@ -863,13 +863,13 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum by (service,method) (\n rate(traefik_service_requests_total{service=~\"$service.*\",code=~\"2..\",protocol=\"http\"}[2m])\n)\n/ ignoring (code) group_left\nsum by (service,method) (\n rate(traefik_service_requests_total{service=~\"$service.*\",protocol=\"http\"}[2m])\n) ",
"expr": "sum by (service,method) (\n rate(traefik_service_requests_total{service=~\"$service.*\",code=~\"2..|3..\",protocol=\"http\"}[2m])\n)\n/ ignoring (code) group_left\nsum by (service,method) (\n rate(traefik_service_requests_total{service=~\"$service.*\",protocol=\"http\"}[2m])\n) ",
"legendFormat": "{{method}} on {{service}}",
"range": true,
"refId": "A"
}
],
"title": "2xx vs (!2xx+2xx) Ratio over 2m (Service: $service)",
"title": "2xx & 3xx Ratio over 2m (Service: $service)",
"type": "timeseries"
},
{
Expand Down

0 comments on commit a87b4b9

Please sign in to comment.