Documentationbreadcrumb arrow Pluginsbreadcrumb arrow MongoDB data source
Enterprise Grafana Cloud
Last reviewed: September 16, 2026

MongoDB data source

The MongoDB data source plugin lets you query, visualize, and alert on data stored in your MongoDB collections directly from Grafana dashboards. Use find and aggregate commands to build time series panels, tables, and stat visualizations from your document data.

Note

The MongoDB data source is an Enterprise plugin. On Grafana Cloud, it’s included with the Advanced plan or available on the Pro plan with the Enterprise Plugins add-on. On self-managed Grafana, it requires a Grafana Enterprise license that includes the plugin. For installation instructions, refer to Install and upgrade the MongoDB data source plugin.

Supported features

FeatureSupported
MetricsYes
AlertingYes
AnnotationsYes
LogsNo
TracesNo

Requirements

The MongoDB data source has the following requirements:

Known limitations

The following are current known limitations:

  • Only find and aggregate read commands are supported.
  • Refer to Diagnostics for a list of currently supported diagnostics commands.
  • Regex flags g and s are not supported.

Get started

The following documents help you get started:

Additional features

After configuring the data source, you can:

Note

Proxying requires the feature toggle secureSocksDSProxyEnabled set to Enabled.

Plugin updates

Always ensure that your plugin version is up-to-date so you have access to all current features and improvements. Navigate to Administration > Plugins and data > Plugins to check for updates. Grafana recommends upgrading to the latest Grafana version, and this applies to plugins as well.

Note

On Grafana Cloud, the MongoDB plugin is managed by Grafana and updates automatically. On self-managed Grafana, you must update Enterprise plugins manually. Refer to Version and upgrade guidance.