Difference between revisions of ".tpl"

From wikieduonline
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

Advertising: