prometheus: Add ability to whitelist Kubernetes labels

This commit is contained in:
Frederic Branczyk
2018-03-23 14:45:46 +01:00
parent 4c77a9db1d
commit 3246c48913
2 changed files with 6 additions and 4 deletions

View File

@@ -9,6 +9,8 @@ spec:
selector: selector:
matchLabels: matchLabels:
tier: frontend tier: frontend
targetLabels:
- tier
endpoints: endpoints:
- port: web - port: web
interval: 10s interval: 10s