Recommended way to instrument applications for Application Insights today: Microsoft's packaged OpenTelemetry, sending logs, metrics and traces there. Python apps switch it on by calling configure_azure_monitor().
Also called azure-monitor-opentelemetry.
Read more: Microsoft Learn
In the Ultra Transcenders books
Each book explains Azure Monitor OpenTelemetry Distro in context, with comparison tables and the common traps.
Terms in this definition
- Application Insights
APM service within Azure Monitor providing application telemetry, availability tests, usage analytics and Application Map. Data from workspace-based instances lives in Log Analytics.
- OpenTelemetry
Vendor-neutral standard for logs, metrics and traces. Application Insights in Azure Monitor and Foundry tracing both build on it, GenAI semantic conventions included.
- SWITCH
Checks one expression against several candidate values, returning whichever result pairs with the match (or a fallback otherwise). Writing SWITCH ( TRUE (), ... ) avoids nested IF chains: whichever condition is first true wins.
- Azure Monitor
Observability platform for Azure that brings together metrics, logs and traces from both Azure and hybrid resources so they can be analysed and alerted on.
Related terms
- configure_azure_monitor
Single setup call in the Azure Monitor OpenTelemetry distro: pass it an Application Insights
connection_stringand your app's telemetry (logs, metrics, traces) flows into Azure Monitor.