Monitor

Components

Microsoft.Insights/components

Control plane
Supported
Data plane
Partial
API versions
5 3 stable
Ships in
Plugin Microsoft.Insights 2026.11
Plan
Starter and above

Data as of 2026-11-20

API versions

The API versions Locally supports for Microsoft.Insights/components.

API versionStatusControl planeData plane
2021-03-08 stable Supported Partial
2020-02-02-preview preview Supported Partial
2020-02-02 stable Supported Partial
2018-05-01-preview preview Supported Partial
2015-05-01 stable Supported Partial

Note: This is generated from the latest version of the plugin (2026.11) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.

Nested resource types

The resource types nested under Microsoft.Insights/components. Click one to see more information.

Features

  • Telemetry ingestion: requests, dependencies, exceptions, traces, custom events, custom metrics, page views, availability results and performance counters.
  • Connection string with endpoints on your machine, for the Application Insights SDKs and the Azure Monitor OpenTelemetry Distro.
  • Instrumentation key or Microsoft Entra ingestion, with the Monitoring Metrics Publisher role.
  • Disabling local authentication: with DisableLocalAuth set, telemetry sent with only the instrumentation key is refused.
  • Application Insights query API, with an API key or an Entra token.
  • Classic table names, such as requests, dependencies and traces, with their classic columns.
  • Workspace-based components: telemetry is stored in the linked Log Analytics workspace and can be queried there too.
  • Cross-component queries with the applications parameter and app().
  • Custom metrics are served by the Metrics API, so metric alerts can use them.
  • Standard metrics: requests/count, requests/failed, requests/duration and availabilityResults/availabilityPercentage are computed from the component's telemetry.
  • Log alerts scoped to a component read that component's telemetry.
  • Web Apps and Function Apps linked to a component get its connection string set for them.
  • Chaos Engineering on ingestion, queries and metrics. Team

Limitations

  • Availability tests don't run at this time.
  • Live Metrics isn't streamed at this time. The SDKs are told nobody is watching, so they back off.
  • OTLP isn't accepted on the Application Insights endpoint at this time. Send OTLP logs and traces to a data collection endpoint instead.
  • Sampling done by the SDK is respected, but ingestion sampling and daily caps aren't applied at this time.
  • There's no Application Map or browser timings at this time.

Examples

Runnable examples from the examples library.

Firing an Azure Monitor alert from an App Service app Deploy a TypeScript app to App Service with Terraform that sends its telemetry to Application Insights, where a log search alert rule counts its failed requests and an Action Group posts the alert to a webhook on a second app. alertsapp-serviceapplication-insightsazurerm-providercontainer-registryhashicorp-terraformopentofu Running a URL shortener on a Function App and App Service with PostgreSQL Deploy a .NET URL shortener with Terraform: a Function App serves the links and an admin site on App Service signs admins in with App Service Authentication, both using PostgreSQL and Application Insights through a managed identity. app-serviceapplication-insightsazuread-providerazurerm-providerdotnetentra-idfunction-apphashicorp-terraformopentofupostgresql Deploy an Application Insights Component to Locally using an ARM Template Provisions a Log Analytics Workspace and a workspace-based Application Insights component, into a Resource Group of your choosing. arm-template Deploy an Application Insights Component to Locally using a Bicep Template Provisions a Log Analytics Workspace and a workspace-based Application Insights component, into a Resource Group of your choosing. bicep Deploy an Application Insights Component to Locally using Terraform and the Azure/azapi provider Provisions a Resource Group containing a Log Analytics Workspace and a workspace-based Application Insights component. azapi-providerhashicorp-terraform Deploy an Application Insights Component to Locally using Terraform and the hashicorp/azurerm provider Provisions a Resource Group containing a Log Analytics Workspace and a workspace-based Application Insights component. azurerm-providerhashicorp-terraform Deploy an Application Insights Component to Locally using OpenTofu and the Azure/azapi provider Provisions a Resource Group containing a Log Analytics Workspace and a workspace-based Application Insights component. azapi-provideropentofu Deploy an Application Insights Component to Locally using OpenTofu and the opentofu/azurerm provider Provisions a Resource Group containing a Log Analytics Workspace and a workspace-based Application Insights component. azurerm-provideropentofu

Documentation

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.