Skip to content
Snippets Groups Projects
Commit 27e0a4c9 authored by Jason Tarasovic's avatar Jason Tarasovic
Browse files

jsonnet/kube-prometheus/alerts: included service in TargetDown message

parent 519ae868
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
{
alert: 'TargetDown',
annotations: {
message: '{{ printf "%.4g" $value }}% of the {{ $labels.job }} targets in {{ $labels.namespace }} namespace are down.',
message: '{{ printf "%.4g" $value }}% of the {{ $labels.job }}/{{ $labels.service }} targets in {{ $labels.namespace }} namespace are down.',
},
expr: '100 * (count(up == 0) BY (job, namespace, service) / count(up) BY (job, namespace, service)) > 10',
'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