Difference between revisions of "Prometheus: alert:"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/
 
* https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/
  
 +
<pre>
 
<nowiki>
 
<nowiki>
 
  alert: InstanceDown
 
  alert: InstanceDown
Line 12: Line 13:
 
   description: "{{$labels.instance}} of job {{$labels.job}} has been down for more than 5 minutes."
 
   description: "{{$labels.instance}} of job {{$labels.job}} has been down for more than 5 minutes."
 
</nowiki>
 
</nowiki>
 +
</pre>
  
 
== Related ==
 
== Related ==

Revision as of 14:58, 21 September 2022

Advertising: