-
Notifications
You must be signed in to change notification settings - Fork 450
Open
Description
Describe the bug
Data seems to be slightly off compared to the dashboard on mongo cloud.
This seems to be the case for other things like CPU and memory usage.
To Reproduce
Compose
services:
mongodb_exporter:
image: percona/mongodb_exporter:0.47.1
ports:
- "9216:9216"
environment:
- MONGODB_URI=mongodb+srv://REDACTED.mongodb.net/
command:
- "--collect-all"
- "--discovering-mode"
- "--log.level=info"
- "--no-mongodb.direct-connect"
- "--collector.profile-time-ts=300"
- "--mongodb.connect-timeout-ms=60000"
logging:
options:
max-size: 30m
max-file: 3
#Prometheus Scraping
prometheus:
image: prom/prometheus:latest
volumes:
- /etc/prometheus/prometheus_mongodb.yml:/etc/prometheus/prometheus.yml:ro
ports:
- "9092:9090"
restart: unless-stopped
logging:
options:
max-size: 30m
max-file: 3
Expected behavior
Data to match with Mongo Cloud
Environment
- OS: Ubuntu Server 24
- environment: Docker
- MongoDB version: 8.0.16 (mongo cloud)
Additional context
