Template built by

Telegraf Plugins used:

Included Resources:

  • 1 Telegraf Configuration: 'mongodb-config'
  • 1 Dashboards: 'MongoDB'
  • 1 bucket: 'mongodb'
  • 1 label: 'mongodb'

Quick Install

If you have your InfluxDB credentials configured in the CLI, you can install this template with:


MongoDB monitoring dashboard

Knowing how your MongoDB database is performing is vital to optimizing your systems and making good decisions on scaling. This MongoDB Monitoring Template supports that goal.

What is MongoDB?

MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, the data objects are stored as separate documents inside a collection — instead of storing the data into the columns and rows of a traditional relational database. The motivation of MongoDB is to implement a data store that provides high performance, high availability and automatic scaling.

MongoDB is designed to make data easy to work with by mapping objects in your application code using an innovative document model that lets you access and analyze your data through ad hoc queries, indexing and even real-time aggregation.

The major benefit of MongoDB is that this document model is very simple for developers to learn and use — all while still offering the type of robust functionality they need to build incredible applications at any scale. It also offers direct support and drivers for more than ten languages, with even more being made available thanks to the passionate community surrounding it.

MongoDB is good for building:

  • An e-commerce product catalog
  • Blogs and content management systems
  • Real-time analytics and high-speed logging, caching and high scalability
  • Configuration management
  • Maintaining location-based data (geospatial data, mobile and social networking sites, evolving data requirements and loosely coupled objectives) — the design may change over time.

Why monitor MongoDB

To ensure a performant and available MongoDB database, you should be monitoring your MongoDB instance in order to determine the current state of your database. With the right diagnostic data, you can resolve identified problems, fix small issues before they become problematic and just ensure continued availability and success.

How to use the MongoDB Monitoring Template

Once your InfluxDB credentials have been properly configured in the CLI, you can install the MongoDB monitoring template using the Quick Install command. Once installed, the data for the dashboard will be populated by the included Telegraf configuration, which includes the relevant MongoDB Input. Note that you might need to customize the input configuration to better serve your needs, including by specifying a new input value. All of this will depend on how your organization is currently running MongoDB.

To find out more information about environmental variables within the MongoDB Telegraf configuration, consult the following link.

Key MongoDB monitoring metrics to monitor

Because MongoDB stores data in flexible, JSON-like documents, the fields can vary from document to document, and the data structure of that information can easily change over time. As such, there are certain metrics you'll definitely want to proactively pay attention to in order to get the most out of your deployment moving forward.

Some of the most important MongoDB monitoring metrics that you should proactively monitor include:

  • MongoDB uptime
  • Available connections
  • Open connections
  • Query operations
  • Document operations
  • Network I/O
  • Commands per second
  • Flushes

Related Resources

MongoDB Telegraf Input Plugin

Collect and graph statistics from your MongoDB performance monitoring database to keep it performant.

Infrastructure and application monitoring

The solution to monitor your entire infrastructure stack, including servers, containers, databases and cloud services.

Scroll to Top