Commit 41d1843f authored by Joshua Lambert's avatar Joshua Lambert
Browse files

Fix CPU metric

parent 6255371d1835
...@@ -154,8 +154,8 @@ ...@@ -154,8 +154,8 @@
- container_cpu_usage_seconds_total - container_cpu_usage_seconds_total
weight: 1 weight: 1
queries: queries:
- query_range: 'avg(sum(rate(container_cpu_usage_seconds_total{container_name!="POD",environment="%{ci_environment_slug}"}[2m])) * 100) without (job)' - query_range: 'sum(avg(rate(container_cpu_usage_seconds_total{container_name!="POD",environment="%{ci_environment_slug}"}[2m])) without (job)) * 100'
label: CPU label: CPU
unit: "%" unit: "%"
series: series:
- label: cpu - label: cpu
\ No newline at end of file
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