Open MehdiKammakh opened 1 day ago
Hi @MehdiKammakh, you need to enable compatible node with --compatible-mode
flag or use mongodb_ss_connections
metric.
@BupycHuk
I have enabled --compatible-mode, still no mongodb_connections available in my metrics
and mongodb_ss_connections how to use , what do you mean by use mongodb_ss_connections metric ?
attached the metrics output
metrics-percona-mongdb.txt
Describe the bug mongodb_connections metric is not available for me
To Reproduce Steps to reproduce the behavior: --mongodb.uri=mongodb://mongo:27017 --mongodb.collstats-colls=planning.course --collector.shards --mongodb.global-conn-pool --collector.replicasetstatus --collector.dbstats --collector.dbstatsfreestorage --collector.collstats --collector.indexstats --collector.topmetrics
Expected behavior mongodb_connections metrics available
Logs Please provide logs relevant to the issue
Environment
Additional context mongoDB docker compose
version: '3.8' services: mongo: image: mongo:6.0.8 container_name: mongo environment: MONGO_INITDB_ROOT_USERNAME: root MONGO_INITDB_ROOT_PASSWORD: example ports:
percona mongodb exporter docker compose
version: '3.8'
services: mongodb_exporter: image: percona/mongodb_exporter:0.41.0 container_name: mongodb_exporter hostname: mongodb_exporter ports: