Tổng quan
Observability là nền tảng của Operational Excellence. Không thể fix những gì không nhìn thấy. Azure Monitor ecosystem gồm Application Insights, Log Analytics, Metrics, và Alerts - tạo thành full-stack monitoring cho .NET applications.
Application Insights Setup cho .NET
Step 1: Cài đặt NuGet packages
bashdotnet add package Microsoft.ApplicationInsights.AspNetCore
dotnet add package Microsoft.ApplicationInsights.Kubernetes # cho AKS
Step 2: Cấu hình trong Program.cs
csharp