Documentationbreadcrumb arrow Pluginsbreadcrumb arrow MongoDB data source
Enterprise Grafana Cloud
Last reviewed: June 2, 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. It’s available with a Grafana Cloud Pro or Advanced plan and Grafana Enterprise. 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. For upgrade and rollback steps, refer to Upgrade the plugin.

Note

Plugins are automatically updated in Grafana Cloud.