2018-05-09 10:02:33 -07:00
|
|
|
{
|
|
|
|
_config+:: {
|
2019-06-28 06:41:31 -07:00
|
|
|
// prometheusSelector is inserted as part of the label selector in
|
|
|
|
// PromQL queries to identify metrics collected from Prometheus
|
|
|
|
// servers.
|
2018-05-09 10:02:33 -07:00
|
|
|
prometheusSelector: 'job="prometheus"',
|
2019-06-27 05:34:11 -07:00
|
|
|
|
|
|
|
// prometheusName is inserted into annotations to name the Prometheus
|
|
|
|
// instance affected by the alert.
|
|
|
|
prometheusName: '{{$labels.instance}}',
|
|
|
|
// If you run Prometheus on Kubernetes with the Prometheus
|
|
|
|
// Operator, you can make use of the configured target labels for
|
|
|
|
// nicer naming:
|
|
|
|
// prometheusNameTemplate: '{{$labels.namespace}}/{{$labels.pod}}'
|
2018-05-09 10:02:33 -07:00
|
|
|
},
|
|
|
|
}
|