udpate prom add mongo
parent
d4d4d4ac2b
commit
71492fb0a4
|
@ -40,7 +40,7 @@ data:
|
|||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: mongo-exporter.base.svc:9216
|
||||
|
||||
|
||||
rule_files:
|
||||
- /etc/prometheus/rules/rule-0.yaml
|
||||
alerting:
|
||||
|
@ -89,6 +89,7 @@ spec:
|
|||
- --config.file=/etc/prometheus/prometheus.yaml
|
||||
- --storage.tsdb.path=/etc/prometheus/data
|
||||
- --storage.tsdb.retention.time=15d
|
||||
- --web.enable-lifecycle
|
||||
volumeMounts:
|
||||
- name: prometheus
|
||||
mountPath: /prometheus/
|
||||
|
|
Loading…
Reference in New Issue