Commit 2149e90c authored by Joshua Lambert's avatar Joshua Lambert

Fix ingress query

parent 6e2ce467
...@@ -7,15 +7,16 @@ ...@@ -7,15 +7,16 @@
- nginx_upstream_responses_total - nginx_upstream_responses_total
weight: 1 weight: 1
queries: queries:
- query_range: 'rate(nginx_upstream_responses_total{upstream=~"%{kube_namespace}-%{ci_environment_slug}-.*"}[2m])' - query_range: 'sum(rate(nginx_upstream_responses_total{upstream=~"%{kube_namespace}-%{ci_environment_slug}-.*"}[2m])) by (status_code)'
unit: req / sec unit: req / sec
label: Status Code
series: series:
- label: status_code - label: status_code
when: when:
- value: 2xx - value: 2xx
color: green color: green
- value: 4xx - value: 4xx
color: yellow color: orange
- value: 5xx - value: 5xx
color: red color: red
- title: "Latency" - title: "Latency"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment