Skip to content

Azure Application Insights

Availability BadgeResource Discovery Support Badge

You can declare to scrape an Azure Application Insights via the ApplicationInsights resource type.

When using declared resources, the following fields need to be provided:

  • name - The name of the Azure Application Insights

All supported metrics are documented in the official Azure Monitor documentation.

Example

Here is an example configuration:

name: azure_application_insights_exceptions
description: "Average amount of server exceptions in Azure Application Insights"
resourceType: ApplicationInsights
azureMetricConfiguration:
  metricName: exceptions/server
  aggregation:
    type: Average
resources: # Optional, required when no resource discovery is configured
- name: promitor-application-gateway-1
- name: promitor-application-gateway-2
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://promitor.io/concepts/how-it-works#using-resource-discovery)
- name: application-insights-landscape