From ec4e2b8671da5b27e065dbc2539a3528f7bdc42e Mon Sep 17 00:00:00 2001 From: ycz008 Date: Thu, 25 Apr 2024 19:22:42 +0800 Subject: [PATCH] udpate prom add mongo --- prod-upgrade/prom/mongo-exporter.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/prod-upgrade/prom/mongo-exporter.yaml b/prod-upgrade/prom/mongo-exporter.yaml index 76cddca..dc4b2d6 100644 --- a/prod-upgrade/prom/mongo-exporter.yaml +++ b/prod-upgrade/prom/mongo-exporter.yaml @@ -21,7 +21,14 @@ spec: - "--mongodb.uri=mongodb://mongo_monitor:beaconfire123@mongo-rs0-0.mongo-rs0.base.svc:27017,mongo-rs0-1.mongo-rs0.base.svc:27017,mongo-rs0-2.mongo-rs0.base.svc:27017/admin," - "--mongodb.global-conn-pool" - "--discovering-mode" - - "--collect-all" + - "--collector.replicasetstatus" + - "--collector.dbstats" + - "--collector.dbstatsfreestorage" + - "--collector.topmetrics" + - "--collector.currentopmetrics" + - "--collector.indexstats" + - "--collector.collstats" + - "--collector.profile" resources: requests: cpu: 0.01