Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
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
- ยน: Application Insights is on by default and enabled automatically.
- ยฒ: This feature is in public preview. See Supplemental Terms of Use for Microsoft Azure Previews.
- ยณ: Autoinstrumentation only supports single-container applications. For multi-container applications, manual instrumentation is required using the Azure Monitor OpenTelemetry Distro.
Next steps
- To review frequently asked questions (FAQ), see Autoinstrumentation FAQ
- Application Insights overview
- Application Insights overview dashboard
- Application map