Difference between revisions of ".tpl"
Jump to navigation
Jump to search
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
* Examples: https://prometheus.io/docs/prometheus/latest/configuration/template_examples/ | * Examples: https://prometheus.io/docs/prometheus/latest/configuration/template_examples/ | ||
+ | alert: InstanceDown | ||
+ | expr: up == 0 | ||
+ | for: 5m | ||
+ | labels: | ||
+ | severity: page | ||
+ | [[annotations:]] | ||
+ | summary: "Instance {{$labels.instance}} down" | ||
+ | description: "{{$labels.instance}} of job {{$labels.job}} has been down for more than 5 minutes." | ||
+ | |||
+ | |||
+ | [[promtool check rules]] | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[helm create]]</code> | ||
+ | * [[my-first-chart/templates/_helpers.tpl]] | ||
== See also == | == See also == | ||
+ | * {{promtool check rules}} | ||
+ | * {{promtool}} | ||
* {{Prometheus}} | * {{Prometheus}} | ||
[[Category:Prometheus]] | [[Category:Prometheus]] |
Latest revision as of 10:23, 9 July 2024
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."
promtool check rules
Related[edit]
See also[edit]
promtool check rules
- Prometheus:
promtool | check | tsbd | --help
- 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: