Plugins 〉MongoDB
MongoDB
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.
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.
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.
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.
There’s supposed to be a video here, but for some reason there isn’t. Either we entered the id wrong (oops!), or Vimeo is down. If it’s the latter, we’d expect they’ll be back up and running soon. In the meantime, check out our blog!
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.6.2] 2023-03-21
- Fix - Revert toolkit removal - parser failing
[1.6.1] 2023-03-20
- Fix - Repeating panels with compound variables
[1.6.0] 2023-03-20
- Feature - Support Alerting with Wide Frames for Time Series data
[1.5.1] 2023-02-03
- Chore - Update frontend dependencies
[1.5.0] 2023-01-25
- Feature - Updated UI layout, tooltips and error messages
[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