MongoDB Monitoring and Observability

Parent: MongoDB Expert Knowledge · Published reference · snapshot 2026-09-08 · skill atlas-diagnostics-expert/references/mongodb-monitoring-observability.md

↓ Facts as markdownall context files

Comprehensive reference for monitoring MongoDB deployments — from Atlas built-in dashboards through third-party integrations, CLI tools, and low-level FTDC diagnostics.

These notes link each claim to its source. Some citations identify archived research reports that are no longer hosted on this site. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

MongoDB Monitoring and Observability

1. Atlas Cloud Monitoring — Built-in Metrics and Dashboard Customization

Key metric categories available in Atlas UI

Dashboard customization

2. Ops Manager and Cloud Manager — Self-Managed Deployments

Monitoring agent behavior

Ops Manager / Cloud Manager dashboards

Alert scope levels

Alert tuning best practices

Atlas Custom Metrics

$currentOp polling for application-level insight

Application-level metrics to track

Setup

Datadog Database Monitoring (DBM) for Atlas

6. New Relic Integration

Atlas managed endpoint (M10+ only)

Self-managed Prometheus

8. FTDC (Full Time Diagnostic Capture)

FTDC diagnostic questions

mongostat

mongotop

db.currentOp()

Atlas Profiler and Performance Advisor

system.profile

Root causes

Atlas connection limits by tier

Tuning recommendations

Free and shared tier clusters (M0, M2, M5)

Maintenance window configuration

What triggers maintenance

How Atlas performs rolling maintenance

  • Application impact: Drivers with retryable writes handle the election transparently. Applications without retryable writes may see one transient write failure. [archived source: https://llms-explorer.com/sources/mdb-context-hub/mongodb-monitoring-observability/#how-atlas-performs-rolling-maintenance]
  • Alert during maintenance: The "Primary election" alert fires during every maintenance restart. Configure a lower-urgency channel for this alert type or correlate it with the maintenance window time. [archived source: https://llms-explorer.com/sources/mdb-context-hub/mongodb-monitoring-observability/#how-atlas-performs-rolling-maintenance]
  • Total duration: 3-node replica set: 5–15 min. Sharded clusters: multiply per-shard restart time by shard count (30–60 min for large topologies). [archived source: https://llms-explorer.com/sources/mdb-context-hub/mongodb-monitoring-observability/#how-atlas-performs-rolling-maintenance]
  • Deferring maintenance

    Querying the maintenance window via API

    Emergency and critical security patches

    Minimizing application impact

    Atlas maintenance for sharded clusters

    Customer communication template

    Where this helps

    Project ideas

    Antipatterns

    Known issues

    Children

    Frontier under this node: Atlas Alerts, Atlas Metrics and Dashboards, Connection Metrics, Datadog Integration, New Relic Integration, Prometheus Integration, Replication Lag Monitoring, Slow Query Monitoring

    ← the whole tree · 3D view· how to read this page