Plugins 〉MongoDB

Grafana Labs

Sign up to receive occasional product news and updates:

Latest webinars
Data Source


Instantly visualize MongoDB data in Grafana and correlate it with other data

With the Grafana data source plugin for MongoDB, you can interact in real time with your existing MongoDB data and unify data sets across your company into one diagnostic workspace.

Why use MongoDB and Grafana?

Visualize MongoDB data without moving or duplicating it

Query, visualize, and alert on MongoDB data in real time without having to migrate or ingest your data. With the power of Grafana, you can translate and transform your existing application and business metrics into flexible and versatile dashboards.

MongoDB Standalone Grafana Dashboard

Connect tools and teams to improve business visibility

Bring together your MongoDB data with other data sources on the same time range and provides a single pane of glass into your business. For example, you can get a real-time look into the business impact of an application slowdown by combining business transaction volume alongside system health metrics.

MongoDB SAP Grafana Dashboard

Correlate your MongoDB data in Grafana with anything

Get instant access to 80+ data sources, including Enterprise plugins for Elasticsearch, Jira, Datadog, Splunk, AppDynamics, Oracle, Snowflake, ServiceNow, and more. You can combine business data from MongoDB, logs from Splunk, infrastructure health metrics from Datadog, and software development insights from Jira in a single view in Grafana and identify root causes more quickly.

See all data sources →

MongoDB logo grid

How to configure MongoDB with Grafana Cloud

It only takes a few clicks to set up MongoDB in Grafana Cloud. Then, in minutes, you can easily write MongoDB queries and create a Grafana dashboard with your MongoDB data.

For full implementation details and best practices, see the MongoDB configuration guide.

Installing MongoDB on Grafana Cloud:

For more information, visit the docs on plugin installation.

Change Log

[1.4.12] 2022-12-16

  • Chore - Updated backend grafana dependencies
  • Chore - Backend compiled with the latest version of go (1.19.4)

[1.4.11] 2022-11-10

  • Fix - check for faceted results
  • Chore - go version 1.19

[1.4.10] 2022-11-01

  • Fix - parser when using compound variables
  • Fix - interpolation when selecting a template variable

[1.4.9] 2022-10-17

  • Fix - parser when using macros

[1.4.8] 2022-10-07

  • Fix - parser when using find with projections

[1.4.7] 2022-10-04

  • Fix - remove carriage return (\r) characters when parsing multi-line aggregate queries

[1.4.6] 2022-10-03

  • Fix - Fixed an issue where space around find/aggregate queries were failing
  • Fix - Fixed an issue where $__timeFrom and $__timeTo macros interpolated incorrectly in variable queries
  • Fix - Fixed an issue where hide query doesn't work as expected

[1.4.5] 2022-09-19

  • Fix - issue with numeric template variables

[1.4.3] 2022-09-14

  • Fix - remove carriage return (\r) characters in multi-line aggregate queries

[1.4.2] 2022-09-06

  • Query inspector in grafana now shows the executed query
  • Fix - $__timeFrom/$__timeTo macros not working properly
  • Chore - Updated docs with more examples

[1.4.1] 2022-08-08

  • Fix - queries were not in the query editor after saving

[1.4.0] 2022-06-07

  • Feature - Add support for ObjectId, regex patterns and single-quote usage

[1.3.0] 2022-03-31

  • Fix - handle numeric values always as floats

[1.2.1] 2022-03-24

  • Chore - Fix docs $__timeTo macro

[1.2.0] 2022-03-15

  • Feature - Update driver to support serverless and MongoDB 5.x features

[1.1.12] 2022-01-19

  • Fix - Textbox variables apply properly

[1.1.11] 2022-01-19

  • Fix - Compound variables with newer Grafana versions
  • Fix - ISODate when using aggregate function

[1.1.10] 2022-01-07

  • Chore - License, Update SDK

[1.1.9] 2021-10-29

  • Fix - Handle collections containing dots

[1.1.7] 2021-5-20

  • Feature - Allow injecting template variables into other template variables

[1.1.6] 2021-4-28

  • Fix - Handle nullable Boolean values

[1.1.5] 2021-4-9

  • Chore - update enterprise and plugin sdk

[1.1.4] 2021-2-6

  • Feature - Time Series grouping by __metric
  • Feature - Convert Interval variables to ms with _ms suffix

[1.1.1] 2021-1-25

  • Workaround - Build with Go 1.14.14 to workaround old common name certs

[1.1.0] 2021-1-19

  • Feature - TLS/SSL support

[1.0.3] 2021-1-8

  • Bug Fix - Time Macros in Aggregation #46

[1.0.2] 2020-10-28

  • Bug Fix - Signing issue

[1.0.1] 2020-10-23

  • Fix - Readme badge/links

[1.0.0] 2020-10-23

  • Initial release