Closed carry2017123 closed 4 months ago
Describe the bug mongodb_exporter can’t collect mongos connections:mongodb_mongos_connections To Reproduce Steps to reproduce the behavior: ./mongodb_exporter --mongodb.uri=mongodb://127.0.0.1:27017/admin --discovering-mode --compatible-mode --collector.indexstats --collector.replicasetstatus --collector.diagnosticdata --collector.dbstats --collector.topmetrics --collector.collstats
Expected behavior get mongodb_mongos_connections result
Logs no error log
Environment
Additional context Add any other context about the problem here.
looks like that metric is no longer available. Try looking for mongodb_connections instead
mongodb_connections
Describe the bug mongodb_exporter can’t collect mongos connections:mongodb_mongos_connections To Reproduce Steps to reproduce the behavior: ./mongodb_exporter --mongodb.uri=mongodb://127.0.0.1:27017/admin --discovering-mode --compatible-mode --collector.indexstats --collector.replicasetstatus --collector.diagnosticdata --collector.dbstats --collector.topmetrics --collector.collstats
Expected behavior get mongodb_mongos_connections result
Logs no error log
Environment
Additional context Add any other context about the problem here.