Azure Cosmos DB data source
The Azure Cosmos DB data source plugin lets you query and visualize Azure Cosmos DB for NoSQL data in Grafana. Azure Cosmos DB is Microsoft’s globally distributed, multi-model database service. Use this data source to build dashboards, explore your data with queries, and alert on data stored in your Azure Cosmos DB for NoSQL containers.
Note
The Azure Cosmos DB 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 Grafana Enterprise plugins.
Supported features
The following table lists the features supported by the Azure Cosmos DB data source:
Requirements
The Azure Cosmos DB data source has the following requirements:
- An Azure Cosmos DB for NoSQL account, including its account endpoint and account key.
- Grafana v11.0.0 or later.
- A Grafana Cloud Pro or Advanced plan or an activated self-managed Grafana Enterprise license. Enterprise plugins aren’t included in the Grafana Cloud Free plan. Contracted Cloud customers should refer to their agreement.
Compatibility requirements
There are no compatibility requirements for the Azure Cosmos DB plugin.
Known limitations
The Azure Cosmos DB data source has the following known limitations:
- The plugin only supports Azure Cosmos DB for NoSQL. Other Azure Cosmos DB APIs aren’t supported with this plugin.
- Multi-partition queries don’t work with the
TOP,ORDER BY,OFFSET,LIMIT,Aggregates,DISTINCT, andGROUP BYkeywords. To use these keywords, enter a value in the PartitionKey field to run a single-partition query. - The only authentication method the plugin supports is an account endpoint with an account key.
Get started
The following documents help you get started with the Azure Cosmos DB data source:
- Install the Azure Cosmos DB data source
- Configure the Azure Cosmos DB data source
- Azure Cosmos DB query editor
- Azure Cosmos DB templates and variables
- Azure Cosmos DB alerting
- Troubleshoot the Azure Cosmos DB data source
Additional features
After you configure the Azure Cosmos DB data source, you can:
- Use Explore to query data without building a dashboard.
- Add Transformations to manipulate query results.
- Set up Alerting rules on your Azure Cosmos DB data.
- Connect to Azure Cosmos DB accounts on private networks with Private data source connect (PDC).
Plugin updates
Always ensure that your plugin version is up-to-date so you have access to all current features and improvements. Navigate to 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 Azure Cosmos DB plugin is managed by Grafana and updates automatically. On self-managed Grafana, you must update the plugin manually. Refer to Version and upgrade guidance.


