Home > Cloud > View Azure metrics in Grafana dashboards

View Azure metrics in Grafana dashboards

January 16, 2019 Leave a comment Go to comments

Microsoft released a plugin that will allow Azure services and applications to be monitored from from Grafana using the Azure Monitor data source plugin.

Grafana configuration for Azure Monitor integration

The plugin gathers application performance data collected by Azure Monitor, including various logs and metrics.

If you use Application Insights, you can also include your Application Insights API and application ID to collect Application Insights based metrics.

You can also install Telegraf and InfluxDB to collect and plot both custom and agent-based metrics using the same Grafana instance and include metrics from the Prometheus server to monitor Containers.

When configuring the plugin, you can indicate which Azure Cloud you would like the plugin to monitor (Public, Azure US Government, Azure Germany, or Azure China).

The high level steps are:

  1. Set up Grafana (locally or in Azure downloading from the Azure Marketplace: Grafana by Grafana Labs). You will need Grafana version 5.3 or higher
  2. Login to Grafana
  3. Configure the DataSource plugin and select Azure Monitor as the type from the dropdown
  4. Use an existing one or Create a new service principal – Grafana uses an Azure Active Directory service principal to connect to Azure Monitor APIs and collect data
  5. Provide the connection details to the APIs and select Same details as Azure Monitor API
  6. Provide your Application Insights API and application ID if you want to collect Application Insights based metrics
  7. Save and on the Grafana Home page, and select New Dashboard
  8. Select the configured Azure Monitor data source

for a more detailed step by step check https://docs.microsoft.com/en-us/azure/azure-monitor/platform/grafana-plugin?toc=%2Fazure%2Fazure-monitor%2Ftoc.json

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: