From a147d13f6f51cb808aee8f7867d5dcf346d8d6ba Mon Sep 17 00:00:00 2001 From: ycz008 Date: Thu, 25 Apr 2024 21:05:45 +0800 Subject: [PATCH] udpate prom add mongo --- prod-upgrade/prom/mongo-exporter.yaml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/prod-upgrade/prom/mongo-exporter.yaml b/prod-upgrade/prom/mongo-exporter.yaml index dc4b2d6..ed899f0 100644 --- a/prod-upgrade/prom/mongo-exporter.yaml +++ b/prod-upgrade/prom/mongo-exporter.yaml @@ -18,17 +18,11 @@ spec: image: percona/mongodb_exporter:0.40 imagePullPolicy: Always args: - - "--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" - - "--collector.replicasetstatus" - - "--collector.dbstats" - - "--collector.dbstatsfreestorage" - - "--collector.topmetrics" - - "--collector.currentopmetrics" - - "--collector.indexstats" - - "--collector.collstats" - - "--collector.profile" + - '--mongodb.uri=mongodb://mongo_monitor:beaconfire123@mongo-rs0-0.mongo-rs0.base.svc:27017/admin,mongodb://mongo_monitor:beaconfire123@mongo-rs0-1.mongo-rs0.base.svc:27017/admin,mongodb://mongo_monitor:beaconfire123@mongo-rs0-2.mongo-rs0.base.svc:27017/admin' + - '--mongodb.global-conn-pool' + - '--collector.replicasetstatus' + - '--collector.dbstats' + - '--collector.profile' resources: requests: cpu: 0.01