fix(monitoring): improve labels

This commit is contained in:
WrenIX 2024-02-08 00:00:29 +01:00
parent 29a37b7714
commit c723445c73
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
3 changed files with 6 additions and 4 deletions

View file

@ -3,7 +3,7 @@ name: monitoring
description: Deploy helper for probes and scrapeconfig of prometheus-operator
icon: https://prometheus.io/assets/favicons/android-chrome-192x192.png
type: application
version: 0.1.2
version: 0.1.3
maintainers:
- name: WrenIX
url: https://wrenix.eu

View file

@ -2,7 +2,7 @@
= monitoring
image::https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square[Version: 0.1.2]
image::https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square[Version: 0.1.3]
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
== Maintainers

View file

@ -18,9 +18,11 @@ spec:
targets:
staticConfig:
labels:
group: {{ $groupName }}
probe: {{ $probe.name }}
prober: {{ $prober.name }}
group: {{ $groupName }}
proto: {{ $proto }}
module: {{ $probe.module }}
probe: {{ $probe.name }}
static:
{{- toYaml $group | nindent 8 }}
{{- end }}