Difference between revisions of "Prometheus: alert:"
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/ | ||
− | + | ||
alert: InstanceDown | alert: InstanceDown | ||
expr: up == 0 | expr: up == 0 | ||
Line 11: | Line 11: | ||
summary: "Instance {{$labels.instance}} down" | summary: "Instance {{$labels.instance}} down" | ||
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." | ||
− | |||
== Related == | == Related == |
Revision as of 14:57, 21 September 2022
alert: InstanceDown expr: up == 0 for: 5m labels: severity: page annotations: summary: "Instance Template:$labels.instance down" description: "Template:$labels.instance of job Template:$labels.job has been down for more than 5 minutes."
Related
See also
- Prometheus: Prometheus installation,
9090
, storage, Prometheus exporters: Node exporter9100
, Blackbox exporter, Prometheus alertmanager (changelog), Prometheus versions, Prometheus Node exporter releases,promtool
,amtool, tsdb
,/etc/default/prometheus, /etc/prometheus/prometheus.yml, journalctl -u prometheus
,/etc/default/prometheus-node-exporter
, PromQL,alert:
, Prometheus Operator, Thanos, VictoriaMetrics, PushGateway, Prometheus API,values.yml
, Amazon Managed Service for Prometheus
Advertising: