MongoDB is a popular NoSQL database designed to store data in flexible document formats similar to JSON. It offers high scalability and performance, allowing data to be distributed across multiple servers and executing complex queries. Its replica set  architecture ensures high availability and data durability. With support for indexing and advanced queries, MongoDB is commonly used for applications that require schema flexibility and management of unstructured or semi-structured data.

How to Monitor MongoDB on the One Platform

To set up monitoring for MongoDB on the platform, follow these steps:

  1. Go to the product application where you want to add MongoDB as a dependency in the platform.

  2. Click on the “Products” menu and select the desired product card.

  3. Then, click on the name of the specific application where you want to configure MongoDB monitoring.

  4. Look for the section called “External Dependencies,” usually located just below the latency graph of the application.

  5. To add an already registered dependency, type the name of the dependency in the search field and select it when it appears in the list.

  6. If MongoDB is not yet registered as a dependency, click on the green button with a plus (+) symbol to add a new dependency.

Click “Add” and a modal will
appear allowing you to name the database and select the Environment. In the “Check type” field, choose the option “DB,” and in the “Method” field, select “MongoDB.” After selecting the method, a field for the Healthcheck URL will appear.

Below is an example of string for MongoDB:

ex: mongodb://HOST:PORT

Note: For security reasons, it is not permitted to enter an IP in the healthcheck field. To monitor an IP, you need to enter it in a secret and use it in healthcheck.

Scroll to Top