Change serviceMonitorSelector
This commit is contained in:
parent
813ad42d7a
commit
fbb7996029
|
@ -66,3 +66,8 @@ spec:
|
|||
- hosts:
|
||||
- *prometheus-host
|
||||
secretName: wildcard-main-tls
|
||||
|
||||
prometheusSpec:
|
||||
serviceMonitorSelector:
|
||||
matchLabels:
|
||||
monitorWith: prometheus
|
||||
|
|
|
@ -35,6 +35,10 @@ spec:
|
|||
serviceMonitor:
|
||||
main:
|
||||
enabled: true
|
||||
|
||||
labels:
|
||||
monitorWith: prometheus
|
||||
|
||||
endpoints:
|
||||
- port: http
|
||||
scheme: http
|
||||
|
|
Loading…
Reference in New Issue