Logging, tracing and metrics: instrumentation in .NET and Azure
summary
Demo builds a .NET web API + web app (Docker compose) instrumented with Application Insights, Azure Monitor, Serilog/Seq and OpenTelemetry-compatible activities; it logs semantic fields (example: searchLimit=42), emits event counters (a game server sends a frames-per-second counter at ~5 Hz) and uses EventSource/event counters consumed by dotnet-counters. Health checks, SQL and Key Vault calls appear in the Application Map, traces correlate across services, and the demo metrics and logs successfully surface errors and live telemetry.
AI-written summary · about
chapters (15)
- 0:00Instrumentation in .NET & Azure
- 1:04Observability in DevOps
- 4:55Azure Monitor overview
- 8:05Logging, tracing, health in apps
- 12:23.NET logging framework
- 23:21Structured logging benefits
- 29:28Logging severity best practices
- 31:10System.Diagnostics tracing
- 36:28Activities distributed tracing
- 39:36EventSource & EventPipe tracing
- 43:59Custom metrics with counters
- 51:06Telemetry in Azure Monitor
- 53:53Live metrics demo
- 59:20Query logs & metrics in Azure
- 1:00:02Summary
related talks
45mLogging, Instrumentation, Dashboards and Alerts - for Developers
01h 00mDon't Fly Blind - Implementing Effective Application Instrumentation
38mLogging, Instrumentation, Dashboards, Alerts
52mMonitoring and alerting like a pro with Azure Monitor/Application Insights
54mLogging, Metrics and Events in ASP NET Core
01h 00mPractical OpenTelemetry for .NET
40mOptimizing AI Applications for Production with Observability
53mLogging Is Hot Again
