Skip to content
Snippets Groups Projects
Commit 01d30382 authored by Lili Cosic's avatar Lili Cosic
Browse files

jsonnet/kube-prometheus/alerts: Add namespace to TargetDown msg

parent 139df678
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
{ {
alert: 'TargetDown', alert: 'TargetDown',
annotations: { annotations: {
message: '{{ printf "%.4g" $value }}% of the {{ $labels.job }} targets are down.', message: '{{ printf "%.4g" $value }}% of the {{ $labels.job }} targets in {{ $labels.namespace }} namespace are down.',
}, },
expr: '100 * (count(up == 0) BY (job, namespace, service) / count(up) BY (job, namespace, service)) > 10', expr: '100 * (count(up == 0) BY (job, namespace, service) / count(up) BY (job, namespace, service)) > 10',
'for': '10m', 'for': '10m',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment