Plugins 〉MongoDB
MongoDB
Instantly visualize MongoDB data in Grafana
The MongoDB data source plugin is the easiest way to pull MongoDB data directly into Grafana dashboards.
- Visualize it either in isolation (one database) or blend it with other data sources.
- Discover correlations and covariances across all your data in minutes.

Grafana Cloud Pro
- $25 / user / month and includes a free trial for new users
- Available with a Grafana Cloud Pro plan
- Access to 1 Enterprise plugin
- Fully managed service (not available to self-manage)
Grafana Cloud Advanced / Grafana Enterprise
- Available with a Grafana Cloud Advanced plan or Grafana Enterprise license
- Access to all Enterprise plugins
- Run fully managed or self-manage on your own infrastructure
Installing MongoDB on Grafana Cloud:
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
For more information, visit the docs on plugin installation.
Installing on a local Grafana:
For local instances, plugins are installed and updated via a simple CLI command. Plugins are not updated automatically, however you will be notified when updates are available right within your Grafana.
1. Install the Data Source
Use the grafana-cli tool to install MongoDB from the commandline:
grafana-cli plugins install
The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins. More information on the cli tool.
Alternatively, you can manually download the .zip file for your architecture below and unpack it into your grafana plugins directory.
Alternatively, you can manually download the .zip file and unpack it into your grafana plugins directory.
2. Configure the Data Source
Accessed from the Grafana main menu, newly installed data sources can be added immediately within the Data Sources section.
Next, click the Add data source button in the upper right. The data source will be available for selection in the Type select box.
To see a list of installed data sources, click the Plugins item in the main menu. Both core data sources and installed data sources will appear.
Change Log
[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
- Signing issue
[1.0.1] 2020-10-23
- Fix Readme badge/links
[1.0.0] 2020-10-23
- Initial release