Fixup naming convention for process recording.

parent 5432105e
groups:
- name: Generic process
rules:
- record: process_cpu_seconds_total:rate1m
- record: instance:process_cpu_seconds_total:rate1m
expr: rate(process_cpu_seconds_total[1m])
......@@ -133,7 +133,7 @@ groups:
runbook: troubleshooting/gitaly-down.md
title: Gitaly is down on {{ $labels.fqdn }}
- alert: GitalyFileServerCPUUsage
expr: avg(process_cpu_seconds_total:rate1m{environment=~"g?prd",job="gitaly",tier="stor",type="gitaly"})
expr: avg(instance:process_cpu_seconds_total:rate1m{environment=~"g?prd",job="gitaly",tier="stor",type="gitaly"})
BY (fqdn) / avg(instance:node_cpus:count{tier="stor",type="gitaly"}) BY (fqdn)
> 0.5
for: 1m
......
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