Skip to content

Scraped data does not match with data in Atlas Cloud #1199

@slameir

Description

@slameir

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

Image Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions