Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

How to import Grafana dashboards

This document will walk you through the steps to visualize uberAgent metrics collected in Azure Monitor through Grafana dashboards. Example Grafana dashboard definitions are provided to easily get started with the metric visualizations.

Table of contents

Creating Azure Log Analytics workspace

Creating Azure Log Analytics workspace

Integrating uberAgent with Log Analytics workspace

Integrating uberAgent with Log Analytics workspace

Configuring Grafana with Log Analytics workspace

Create and set up App Registration in Azure

  • Go to App Registrations in Azure and create a new Registration.
  • Get Application (client) ID from the Overview Page.
  • In Manage → Certificates & secrets → Client secrets, Add a new client secret. Save the Value (Client secret) image image
  • In Log Analytics workspace → Access Control → Role assignments, search for the App registration and give Contributor role to it. image

Configure a Log Analytics data source in Grafana

  • Select "Connections" > "Data sources" > "Add new data source"
  • Find and select the "Azure Monitor" data source type image
  • Fill the data source name and authentication information saved during App registration.
  • Click "Save & test"

Import a dashboard

  • Navigate to "Dashboards"
  • Click on the "New" button and then select "Import"
  • Browse for and select the dashboard definition (.json file) to import
  • Select the Azure Monitor data source configured above image
  • Click "Import"
  • The newly imported dashboard will then open.
  • In the selectors at the top, select the Subscription and the Log Analytics workspace. The data queries should then succeed and you should see the charts populated with data. If needed, you can adjust the selected time window.
  • After the Subscription and Workspace is selected, the dashboard can be saved by checking the below box to persist the selected values. image

Dashboard preview

image

Updating a dashboard

  • While updating an existing dashboard, Import (Overwrite) the new JSON file, and keep the original UID image