Monitor MongoDB
Select the correct project, replica set and time range in DB-Metrics. Use the following panels to review database health and performance.
| Panel | What it shows |
|---|---|
| Members | Number of members reporting |
| Avg ReplSet Lag | Average replication lag across secondaries |
| Last Election | When the current primary was elected |
| Member table | Per member: state, version, uptime, operations, latency, connections and open cursors |
| Latency | A latency graph for each member |
Investigate signals
- Growing replication lag: check secondary storage, network and resource capacity.
- Unexpected election: examine the former primary and peer connectivity around the election time.
- Sustained connections or latency: review application pools, workload and resource utilization.
- Missing members: compare the selector and scrape target with live replica-set membership.
For missing metrics, ask the monitoring administrator to check the project's configured collection routes.
Home, Host-Insights and Host-Metrics are explained in project monitoring. A stopped collector can make metadata stale while metrics remain available; a missing exporter can make metrics empty while MongoDB remains healthy.
After deletion, verify both topology and target removal. For dashboard refresh issues consult release notes and support.