mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 14:09:41 -08:00
52707535b8
Signed-off-by: beorn7 <beorn@grafana.com>
17 lines
606 B
Plaintext
17 lines
606 B
Plaintext
{
|
|
_config+:: {
|
|
// prometheusSelector is inserted as part of the label selector in
|
|
// PromQL queries to identify metrics collected from Prometheus
|
|
// servers.
|
|
prometheusSelector: 'job="prometheus"',
|
|
|
|
// 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}}'
|
|
},
|
|
}
|