Observability with .NET 6 and AWS Lambda

preview_player
Показать описание
In this video, learn how to add observability to your serverless applications in .NET. We walk through the three pillars of a good observability strategy; traces, logs and metrics.

Traces and logs are important for diagnosing problems that have happened and understanding how requests flow through your system. Metrics are measured values of your system's performance. They include both infrastructure and application specific metrics. All three are vital for understanding how your application works and diagnosing issues that may occur.

00:00 - Introduction
00:35 - Tracing
01:10 - Add Nuget packages for X-Ray Tracing
01:50 - Implementing X-Ray
02:45 - SAM Template Updates
03:40 - Logging
05:20 - Serilog for structure logging
08:20 - Include TraceId in log messages
10:35 - Viewing traces in the console
11:30 - Querying logs with the TraceId
12:50 - Metrics
15:25 - SAM Template Updates for metrics
15:55 - Viewing metrics in the console

Links

Рекомендации по теме