Edit

Share via


Autoinstrumentation for Azure Monitor Application Insights

Autoinstrumentation automatically collects telemetry and sends it to your Application Insights resource, enabling portal experiences like the application dashboard and application map.

The autoinstrumentation process varies by language and platform, but often involves a toggle button in the Azure portal. The following example shows a toggle button for Azure App Service autoinstrumentation.

 Screenshot that shows the Application Insights tab with Enable selected.

Tip

We don't provide autoinstrumentation specifics for all languages and platforms in this article. For detailed information, select the corresponding link in the Supported environments, languages, and resource providers table. In many cases, autoinstrumentation is enabled by default.

Supported environments, languages, and resource providers

The following table shows the current state of autoinstrumentation availability.

Links are provided to more information for each supported scenario.

Note

If your hosting environment or resource provider isn't listed in the following table, see Collect OpenTelemetry (OTel) for Application Insights experiences.

Environment/Resource provider .NET Framework .NET Core / .NET Java Node.js Python
Azure App Service on Windows - Publish as Code โœ… ๐Ÿ”— โœ… ๐Ÿ”— ยน โœ… ๐Ÿ”— ยน โœ… ๐Ÿ”— ยน โŒ
Azure App Service on Windows - Publish as Container โœ… ๐Ÿ”— ยฒยณ โœ… ๐Ÿ”— ยฒยณ โœ… ๐Ÿ”— ยฒยณ โœ… ๐Ÿ”— ยฒยณ โŒ
Azure App Service on Linux - Publish as Code โŒ โœ… ๐Ÿ”— ยน โœ… ๐Ÿ”— ยน โœ… ๐Ÿ”— ยน โœ… ๐Ÿ”—
Azure App Service on Linux - Publish as Container โŒ โœ… ๐Ÿ”— ยณ โœ… ๐Ÿ”— ยณ โœ… ๐Ÿ”— ยณ โŒ
Azure Functions โœ… ๐Ÿ”— ยน โœ… ๐Ÿ”— ยน โœ… ๐Ÿ”— ยน โœ… ๐Ÿ”— ยน โœ… ๐Ÿ”— ยน
Azure Spring Apps โŒ โŒ โœ… ๐Ÿ”— โŒ โŒ
Azure Kubernetes Service (AKS) โŒ โŒ โœ… ๐Ÿ”— ยฒ โœ… ๐Ÿ”— ยฒ โŒ

Footnotes

Next steps