use the app label

This commit is contained in:
Nikolai Rodionov 2023-03-13 14:09:14 +01:00
parent b8856368e7
commit abfbe7472a

View File

@ -10,7 +10,7 @@ service-monitor:
spec:
selector:
matchLabels:
exporter: {{ .label.exporter }}
app: {{ .label.app }}
endpoints:
- port: {{ .endpoints.port }}
{{ end }}