How to configure data sources for Azure Managed Grafana

Prerequisites

Sign in to Azure

Sign in to the Azure portal at https://portal.azure.com/ with your Azure account.

Supported Grafana data sources

By design, Grafana can be configured with multiple data sources. A data source is an externalized storage backend that holds your telemetry information. Azure Managed Grafana supports many popular data sources. Azure-specific data sources are:

Other data sources include:

You can find all available Grafana data sources by going to your resource and selecting Configuration > Data sources from the left menu. Search for the data source you need from the available list and select Add data source.

Screenshot of the Add data source page.

Note

Installing Grafana plugins listed on the page Configuration > Plugins isn’t currently supported.

For more information about data sources, go to Data sources on the Grafana Labs website.

Configuration for Azure Monitor

The Azure Monitor data source is automatically added to all new Managed Grafana resources. To review or modify its configuration, follow these steps in your Managed Grafana endpoint:

  1. From the left menu, select Configuration > Data sources.

    Screenshot of the Add data sources page.

  2. Azure Monitor is listed as a built-in data source for your Managed Grafana instance. Select Azure Monitor.

  3. In the Settings tab, authenticate through Managed Identity and select your subscription from the dropdown list or enter your App Registration details

    Screenshot of the Azure Monitor page in data sources.

Authentication and authorization are then made through the provided managed identity. With Managed Identity, you can assign permissions for your Managed Grafana instance to access Azure Monitor data without having to manually manage service principals in Azure Active Directory (Azure AD).

Note

User assigned managed identity isn't supported currently.

Configuration for Azure Data Explorer

Azure Managed Grafana can also access data sources using a service principal set up in Azure Active Directory (Azure AD).

  1. From the left menu, select Configuration > Data sources.

    Screenshot of the Add data sources page.

  2. Azure Data Explorer Datasource is listed as a built-in data source for your Managed Grafana instance. Select this data source.

  3. In the Settings tab, fill out the form under Connection Details, and optionally also edit the Query Optimizations, Database schema settings, and Tracking sections.

    Screenshot of the Connection details section for Data Explorer in data sources.

    To complete this process, you need to have an Azure AD service principal and connect Azure AD with an Azure Data Explorer User. For more information, go to Configuring the datasource in Grafana.

  4. Select Save & test to validate the connection. "Success" is displayed on screen and confirms that Azure Managed Grafana is able to fetch the data source through the provided connection details, using the service principal in Azure AD.

Next steps