Annotate Grafana so Prometheus scrapes metrics

This commit is contained in:
Dalton Hubble
2018-05-30 22:37:47 -07:00
parent 32a9a83190
commit d32e6797ae
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,9 @@ kind: Service
metadata:
name: grafana
namespace: monitoring
annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: '8080'
spec:
type: ClusterIP
selector: