Annotate Grafana so Prometheus scrapes metrics
This commit is contained in:
parent
32a9a83190
commit
d32e6797ae
|
@ -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
|
||||
|
||||
|
|
|
@ -3,6 +3,9 @@ kind: Service
|
|||
metadata:
|
||||
name: grafana
|
||||
namespace: monitoring
|
||||
annotations:
|
||||
prometheus.io/scrape: 'true'
|
||||
prometheus.io/port: '8080'
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
|
|
Loading…
Reference in New Issue