Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Azure Cosmos DB query editor

Grafana provides a query editor for Azure Cosmos DB, which allows you to create and execute Azure Cosmos DB queries.

Query

FieldDescription
DatabaseSelect a database
ContainerAfter a database has been selected, select a container
Partition Key
Query
  • Database - Select a database
  • Container - After a database has been selected, select a container
  • Partition Key - Enter a partition key to make a single partition query. Leave this field empty to make a multi partition query with limitations. See Known limitations
  • Query - Enter a Cosmos DB NoSQL query. Refer to Queries in Azure Cosmos DB for NoSQL for more information on writing queries. Multi partition queries are not supported with these keywords: TOP ORDER BY OFFSET LIMIT Aggregates DISTINCT GROUP BY. To query a single partition set the Partition Key field.