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