udpate prom add mongo

main
ycz008 2024-04-25 19:22:42 +08:00
parent c88db53a31
commit ec4e2b8671
1 changed files with 8 additions and 1 deletions

View File

@ -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