Section 3 · Database integrations

Monitoring MongoDB databases

Estimated time: 1 min

MongoDB integration

The MongoDB integration provides database monitoring for MongoDB deployments, from standalone instances to sharded clusters. It collects connection metrics and includes a too-many-connections alert.

What it’s forMonitoring operations, connections, replication, and sharding health
Under the hoodCollects operations, connections, replication, and sharding metrics

Metrics collected

The integration collects metrics across operations, connections, replication, and sharding:

  • Operations: Queries, inserts, updates, deletes
  • Connections: Current, available, usage
  • Replication: Oplog window, member state
  • Sharding: Chunk distribution, balancer

What to know

This integration offers:

  • Prebuilt dashboards: MongoDB overview, MongoDB instance, MongoDB replica set, and MongoDB cluster
  • 10 prebuilt alerts, including replication lag and connections
  • Replica set and sharding visibility
  • Oplog window and member state

Set it up

View the MongoDB integration documentation.

Open this path in your Grafana Cloud stack for a fully interactive experience, or read through it to understand the process first.

Learning path

Monitor MongoDB with Grafana Cloud

Welcome to the MongoDB monitoring learning path that shows you how to use Grafana Alloy to send MongoDB metrics to Grafana Cloud for comprehensive database observability.

17 min
Beginner
Docs & blog posts

Open in Grafana Cloud

Complete this learning path directly in your Grafana Cloud stack with an interactive learning experience.

Path completed