Top Things We Do Wrong With Telemetry Data In .NET
summary
Highlights common mistakes: capturing everything and never analyzing it, logging HTML responses into memory, and duplicating telemetry sinks. Recommends concrete fixes: use OpenTelemetry tracing for distributed traces, send logs to Serilog + Seq for local dev and Jaeger for traces, filter health and swagger endpoints, enable adaptive sampling, and check IsEnabled before formatting to avoid allocations. Demonstrates a .NET 6 microservice demo (RabbitMQ, order generator, billing/shipping services) that runs via Docker and shows correlation using Net 6 source-generator optimized logging.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:50What is telemetry data
- 3:05What is metrics
- 5:48Telemetry data life cycle
- 8:49Not capturing all available information
- 14:00My recommendation
- 21:26Real tips and tricks
- 21:41Log levels
- 24:43Demo
- 33:51Sirilog
- 39:46Open Telemetry
- 42:16Application Inside
- 45:23Entity Framework Migration
- 46:58Demonstration
