Annotate Grafana so Prometheus scrapes metrics
This commit is contained in:
parent
32a9a83190
commit
d32e6797ae
|
@ -9,6 +9,7 @@ Notable changes between versions.
|
||||||
#### Addons
|
#### Addons
|
||||||
|
|
||||||
* Add Prometheus liveness and readiness probes
|
* Add Prometheus liveness and readiness probes
|
||||||
|
* Annotate Grafana service so Prometheus scrapes metrics
|
||||||
|
|
||||||
## v1.10.3
|
## v1.10.3
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,9 @@ kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: grafana
|
name: grafana
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
|
annotations:
|
||||||
|
prometheus.io/scrape: 'true'
|
||||||
|
prometheus.io/port: '8080'
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
selector:
|
selector:
|
||||||
|
|
Loading…
Reference in New Issue