How to configure data sources for Azure Managed Grafana
Prerequisites
- An Azure account with an active subscription. Create an account for free.
- An Azure Managed Grafana instance. If you don't have one yet, create an Azure Managed Grafana instance.
- A resource including monitoring data with Managed Grafana monitoring permissions. Read how to configure permissions for more information.
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 available for all customers:
- Azure Data Explorer
- Azure Monitor. Is preloaded in all Grafana instances.
Data sources reserved for Grafana Enterprise customers - exclusively preloaded in instances with a Grafana Enterprise subscription:
- AppDynamics
- Azure Devops
- DataDog
- Dynatrace
- Gitlab
- Honeycomb
- Jira
- MongoDB
- New Relic
- Oracle Database
- Salesforce
- SAP HANA®
- ServiceNow
- Snowflake
- Splunk
- Splunk Infrastructure monitoring (SignalFx)
- Wavefront
Other data sources:
- Alertmanager
- CloudWatch
- Direct Input
- Elasticsearch
- Google Cloud Monitoring
- Graphite
- InfluxDB
- Jaeger
- Loki
- Microsoft SQL Server
- MySQL
- OpenTSDB
- PostgreSQL
- Prometheus
- Tempo
- TestData DB
- Zipkin
For more information about data sources, go to Data sources on the Grafana Labs website.
Add a datasource
A number of data sources are added by in your Grafana instance by default. To add more data sources, follow the steps below using the Azure portal or the Azure CLI.
Open the Grafana UI of your Azure Managed Grafana instance and select Configuration > Data sources from the left menu.
Select Add data source, search for the data source you need from the available list, and select it.
Fill out the form with the data source settings and select Save and test to validate the connection to your data source.
Note
Installing Grafana plugins listed on the page Configuration > Plugins isn’t currently supported.
Update a data source
Azure Monitor configuration
The Azure Monitor data source is automatically added to all new Managed Grafana resources. To review or modify its configuration, follow these steps below in the Grafana UI of your Azure Managed Grafana instance or in the Azure CLI.
From the left menu, select Configuration > Data sources.
Azure Monitor is listed as a built-in data source for your Managed Grafana instance. Select Azure Monitor.
In the Settings tab, authenticate through Managed Identity and select your subscription from the dropdown list or enter your App Registration details
Authentication and authorization are made through the provided managed identity. Using managed identity, lets you 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.
Azure Data Explorer configuration
Azure Managed Grafana can also access data sources using a service principal set up in Azure Active Directory (Azure AD).
From the left menu, select Configuration > Data sources.
Add the Azure Data Explorer Datasource data source to your Managed Grafana instance.
In the Settings tab, fill out the form under Connection Details, and optionally also edit the Query Optimizations, Database schema settings, and Tracking sections.
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.
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
Feedback
Submit and view feedback for