Install MongoDB dashboards and alerts

In this milestone, you install the pre-built MongoDB dashboards and alert rules that come with the integration. These assets provide immediate visibility into MongoDB performance and proactive monitoring of critical conditions.

The MongoDB integration includes 3 comprehensive dashboards and 10 useful alerts designed to monitor database operations, performance metrics, and health indicators.

To install MongoDB dashboards and alerts, complete the following steps:

  1. In the Install dashboards and alerts section of Grafana Cloud, click Install.

    You should see the following message: Dashboards and alerts have been installed.

  2. Verify the dashboard installation by navigating to Dashboards in the main menu and searching for MongoDB.

    You should see the following installed dashboards:

    • MongoDB Cluster: A dashboard for cluster-wide monitoring
    • MongoDB Instance: A dashboard for individual server metrics
    • MongoDB ReplicaSet: A dashboard for replication monitoring
  3. Verify the alert rule installation by navigating to Alerting > Alert rules and searching for MongoDB.

    The following alert rules monitor critical MongoDB conditions and notify you when intervention is required:

    Alert RuleSeverityDescription
    MongodbDownCriticalMongoDB instance is not responding
    MongodbReplicaMemberUnhealthyCriticalReplica set member is unhealthy
    MongodbReplicationLagCriticalReplication lag exceeds threshold
    MongodbReplicationHeadroomCriticalReplication headroom is too low
    MongodbTooManyConnectionsWarningConnection count is too high
    MongodbVirtualMemoryUsageWarningVirtual memory usage is excessive
    MongodbCursorsTimeoutsWarningCursor timeouts are increasing
    MongodbNumberCursorsOpenWarningToo many cursors are open
    MongodbReadRequestsQueueingUpWarningRead requests are queuing
    MongodbWriteRequestsQueueingUpWarningWrite requests are queuing

In your next milestone, you’ll explore the MongoDB dashboards and learn to interpret the metrics.

More to explore (optional)

At this point in your journey, you can explore the following paths:

Create custom dashboards and panels


page 8 of 10