# Azure Application Insights

The application can report metrics to the Azure Application Insights service.

# Create the Insights Workspace

  1. In the Azure portal, click All services. In the list of resources, select Application Insights.

  2. Click New

  3. Select a resource group or create a new one.

  4. Enter a name for your workspace.

  5. Select the same region as the application VM instance.

# Configure Metrics Reporting

  1. Open the Insights workspace.

  2. Click overview in the sidebar.

  3. Copy the instrumentation key.

  4. In the application configuration file add:

  service: azure
  azure_insights_instrumentation_key: [ INSTRUMENTATION_KEY ]

# View Metrics

  1. Open Insights workspace.

  2. Click metrics in the sidebar.

  3. Click on the time selector in the top right corner

  4. Set time granularity to 1 minute


  1. Click on the dropdown labeled Metric Namespace and select azure.applicationinsights under CUSTOM.


  1. Select a metric by clicking on the Metric dropdown.

  2. Click add metrics to add more metrics.