Service APM Azure pour monitoring de performance applicative et user behavior.
Azure Application Insights est le service APM (Application Performance Monitoring) de Microsoft Azure, racheté Visual Studio Online et intégré dans Azure Monitor en 2018. Fournit instrumentation auto/manuelle des applications pour collecter métriques performance, traces distribuées, logs applicatifs, comportement utilisateur (page views, sessions), exceptions, dependencies.
Instrumentation : (1) Auto-instrumentation (codeless) — .NET (Application Insights agent for App Service/AKS), Java (3.x agent attach -javaagent:applicationinsights-agent.jar), Node.js (npm install applicationinsights), Python (OpenTelemetry distro), zero code changes ; (2) SDK manual — pour custom events, metrics, traces, exceptions ; (3) OpenTelemetry — Microsoft moves vers OpenTelemetry comme strategy d'instrumentation standard avec exporter Azure Monitor ; (4) JavaScript SDK pour browser tracking (page views, AJAX calls, errors) ; (5) Mobile SDKs (iOS, Android via App Center) ; (6) Snapshot Debugger ; (7) Profiler.
Données collectées : (1) Requests — toutes les requêtes HTTP entrantes (URL, duration, status, success/failure) ; (2) Dependencies — appels sortants vers SQL, HTTP, Service Bus, Redis, Cosmos DB, etc., avec duration et success ; (3) Exceptions — stack traces ; (4) Traces — log statements applicatifs (ILogger en .NET, console.log en Node, etc.) ; (5) Custom Events — business events (UserSignedUp, OrderPlaced) ; (6) Custom Metrics — KPI business ; (7) Page Views — browser ; (8) Performance Counters — CPU/Memory du process.
Features phares : (1) Application Map — visualisation auto du graph dépendances entre services (microservices), latency et failure rate par edge ; (2) Live Metrics Stream — métriques live <1s latency idéal troubleshooting deploys ; (3) End-to-end transaction details — vue d'un user journey complet à travers les microservices avec timing breakdown ; (4) Smart Detection — anomalies ML détectées (response time degradation, failure rate spike) ; (5) Funnels et User Flows — analyse comportementale ; (6) Cohort analysis ; (7) Availability tests — synthetic monitoring ping URLs depuis plusieurs régions ; (8) Workbooks ; (9) Continuous Export ; (10) Workspace-based App Insights (depuis 2020) — data stockée dans Log Analytics workspace, unification avec Azure Monitor Logs (recommandé).
Pricing : intégré avec Log Analytics workspace pricing (~2.30\$/GB), sampling configurable côté SDK pour réduire ingestion (adaptive sampling cible 5 items/seconde par défaut). Free up to 1 GB/mois. Daily cap configurable to control budget.
Alternatives : Datadog APM, New Relic, Dynatrace, AppDynamics, Elastic APM, Honeycomb, Lightstep. Compétences AZ-204, AZ-400, AZ-104, AZ-500.
200+ certifications, 400 000+ questions, examens blancs chronométrés.
Voir le catalogue →