The MongoDB Integration provides real-time monitoring of your MongoDB databases, offering insights into crucial performance and health metrics. With this integration, you can monitor the database's connections, memory usage, operations, and network traffic. By understanding these metrics, you can ensure optimal performance and stability for your MongoDB instances.
On the MongoDB Integration page, you'll be able to track the following metrics:
- Connections: Monitor the number of active and available connections to your MongoDB instance.
- Memory: Track memory utilization and virtual memory to ensure your database is operating efficiently.
- Operations: View detailed metrics on operations such as insertions, updates, queries, and deletions.
- Latency: Get insights into latency for commands, reads, and writes to quickly identify performance bottlenecks.
- Network Traffic: Analyze inbound and outbound traffic, as well as the number of network requests being handled by MongoDB.
This page also includes latency metrics for commands, reads, and writes to help you understand response times and identify slowdowns.
You can see the result of the integration in the video below
How to Enable MongoDB Integration: To monitor your MongoDB instance, follow these steps to configure and activate the integration:
Step-by-Step Integration Instructions:
- Install the Watchlog Agent:If you haven't already installed the Watchlog Agent, download and install it on your server.
- Configure Mongodb in integration.json:In Ubuntu agent you can find it in "/opt/watchlog-agent/integration.json"In Source agent you can find it in watchlog-agent directoryNavigate to your agent configuration file (integration.json) and enable Docker integration by setting the Docker key to true. Example:
- Reload the Agent:After updating the configuration file, you need to reload the Watchlog Agent for the changes to take effect. You can do this by running:In Ubuntu agent :In Source agent :