Menu
Azure Cosmos DB templates and variables
Instead of hard-coding details such as database, containers, partition keys, and WHERE
clause filters, you can use variables. Grafana lists these variables in dropdown select boxes at the top of the dashboard to help you change the data displayed in your dashboard. Grafana refers to such variables as template variables.
For an introduction to templates and variables, see the following topics:
To add a new Azure Cosmos DB query variable, see Add a query variable. Use your Azure Cosmos DB data source as your data source. The following queries are available:
- Database - Fetches all of the available databases
- Container - After a database has been selected, fetches all of the available databases
- Query - After a database and container has been selected, enter a Cosmos DB NoSQL query that returns one field. For more information refer to Azure Cosmos DB query editor
Was this page helpful?
Related documentation
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video
Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more
In this webinar, learn how to leverage Grafana's plugin ecosystem for access to 80+ data sources, including plugins for Datadog, Splunk, MongoDB, and more.
Video
Grafana plugins demo: GitHub, GitLab, JIRA, ServiceNow, and more
In this webinar, we'll show you how to use Grafana to unlock these insights and have better visibility into the performance of your software development team.
Video
All about Grafana plugins: Visualizing disparate data sources in one place
Grafana Enterprise plugins are integrations with other commercial monitoring tools (such as Datadog, Splunk, New Relic, ServiceNow, Oracle, and Dynatrace) that are created, maintained, and supported by the Grafana Labs team.