mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-12 00:24:04 -08:00
1336a28848
Signed-off-by: beorn7 <beorn@grafana.com>
16 lines
563 B
Plaintext
16 lines
563 B
Plaintext
{
|
|
_config+:: {
|
|
// Selectors are inserted between {} in Prometheus queries.
|
|
prometheusSelector: 'job="prometheus"',
|
|
alertmanagerSelector: 'job="alertmanager"',
|
|
|
|
// 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}}'
|
|
},
|
|
}
|