mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-30 07:59:40 -08:00
4 lines
351 B
Plaintext
4 lines
351 B
Plaintext
|
{{/* Adjust the query below to select the samples to expose. */}}
|
||
|
{{ range query "{__name__=~'^job:.*'}" }}
|
||
|
{{ .Labels.__name__ }}{{ "{" }}{{ range $k, $v := .Labels }}{{ if ne "__name__" $k }}{{ $k }}="{{ $v | reReplaceAll "([\\\\\"])" "\\$1" | reReplaceAll "\n" "\\n"| safeHtml }}",{{ end }}{{ end }}{{ "}" }} {{ print .Value | safeHtml }}{{ end }}
|