From 71492fb0a488e8985da02c92049035d4b8d5c593 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Thu, 25 Apr 2024 15:44:24 +0800 Subject: [PATCH] udpate prom add mongo --- prod-upgrade/prom/prometheus.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prod-upgrade/prom/prometheus.yaml b/prod-upgrade/prom/prometheus.yaml index 424e9af..ebef7ee 100644 --- a/prod-upgrade/prom/prometheus.yaml +++ b/prod-upgrade/prom/prometheus.yaml @@ -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/