Merge pull request #1145 from brancz/targetlabels

prometheus: Add ability to whitelist Kubernetes labels
This commit is contained in:
Frederic Branczyk
2018-03-26 05:49:39 -04:00
committed by GitHub
2 changed files with 6 additions and 4 deletions

View File

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