Service Discovery
{{- range $i, $job := .Index}}
- {{$job}} ({{ index $.Active $i }}/{{ index $.Total $i }} active targets)
{{- end}}
{{- $targets := .Targets}}
{{- range $i, $job := .Index}}
{{- with index $.Dropped $i}}
{{- if gt . 100 }}
{{ . }} targets have been dropped, showing only the first 100 dropped targets as examples.
{{- end}}
{{- end}}
Discovered Labels |
Target Labels |
{{- range index $targets $job}}
{{- $labels := .DiscoveredLabels.Map }}
{{- range $label, $value := $labels }}
- {{$label}}="{{$value}}"
{{- else -}}
- none
{{- end }}
|
{{- $labels := .Labels.Map }}
{{- range $label, $value := $labels }}
- {{$label}}="{{$value}}"
{{- else -}}
- Dropped
{{- end }}
|
{{- end}}
{{- end }}
{{end}}