---
title: "MongoDB integration | Grafana Labs"
description: "Monitoring MongoDB databases"
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

## MongoDB integration

The MongoDB integration provides **database monitoring** for MongoDB deployments, from simple standalone instances to complex sharded clusters.

|                    |                                                                         |
|--------------------|-------------------------------------------------------------------------|
| **What it’s for**  | Monitoring operations, connections, replication, and sharding health    |
| **Who uses it**    | DBAs, backend developers, DevOps teams managing MongoDB databases       |
| **Under the hood** | Makes MongoDB’s internal complexity accessible through clear dashboards |

## Metrics collected

- **Operations** — Queries, inserts, updates, deletes
- **Connections** — Current, available, usage
- **Replication** — Oplog window, member state
- **Sharding** — Chunk distribution, balancer
- **WiredTiger** — Cache usage, tickets

## Trade-offs

**Best for:** MongoDB deployments—standalone, replica sets, or sharded clusters

| Pros                                                  | Cons                               |
|-------------------------------------------------------|------------------------------------|
| Pre-built dashboards: overview, replication, sharding | Complex metrics for large clusters |
| Pre-built alerts: replication lag, connections        | Connection limit awareness needed  |
| Replica set and sharding visibility                   | Version-specific differences       |
| Oplog window monitoring for DR                        |                                    |
| WiredTiger cache and ticket metrics                   |                                    |

* * *

## Learning path

Deploy this integration step by step.

[MongoDB integration](/docs/learning-hub/intro-to-integrations/02-hands-on/19-mongodb-journey/)
