percona / mongodb_exporter

A Prometheus exporter for MongoDB including sharding, replication and storage engines
Apache License 2.0
1.14k stars 421 forks source link

Missing serverStatus metrics #842

Closed dwden closed 1 month ago

dwden commented 3 months ago

Describe the bug I currently have mongodb_exporter 0.40 and mongodb 5.0. Any metrics like mongodb_ss... missing I need connections metrics, but it's missing To Reproduce docker-compose.yml:


  mongodb-exporter:
    image: percona/mongodb_exporter:0.40
    container_name: mongodb-exporter
    ports:
      - 9216:9216
      - 17001:17001
    command:  --compatible-mode --collect-all --web.listen-address=:9216 --mongodb.uri="mongodb://user:pass@fqdn:27018/?tls=true&tlsCAFile=root.crt"```
igroene commented 1 month ago

it could be a permissions issue. Did you check that?