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

@ -9,6 +9,7 @@ Notable changes between versions.
#### Addons
* Add Prometheus liveness and readiness probes
* Annotate Grafana service so Prometheus scrapes metrics
## v1.10.3

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: