The 6 Figure Developer Podcast
Episode 096 – Logging and Metrics in .NET Core
 
This week we’re talking Logging and Metrics in .NET Core. What to log, where to start, and what’s available.
 
What gets measured gets managed.
- If it compiles, ship it
 - Hope it performs well
 - When a bug is reported?
- Struggle to repeat it
 - Fail miserably
 - Weep in a corner
 
 - Does it work? Does it perform?
- I think it works
 - It might handle more than one user
 - I haven’t heard from anyone
 - What are logs?
 
 - An error happened, what now?
- I can’t reproduce it
 - Time to update my resume
 
 - Metrics, metrics, metrics
- How many users can it handle?
 - Where are the bottlenecks?
 - Where do errors happen?
 
 - What does the data tell us?
- Is the data meaningful?
 - What needs our attention?
 - Make informed decisions
 
 - Consle.WriteLine
 - ILogger
 - Health Check Middleware
 - App Metrics
 - Application Insights
 
Resources
https://serilog.net/
https://www.app-metrics.io/
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-2.2
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/health-checks?view=aspnetcore-2.2
https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.ilogger?view=aspnetcore-2.2
“Tempting Time” by Animals As Leaders used with permissions – All Rights Reserved
× Subscribe now! Never miss a post, subscribe to The 6 Figure Developer Podcast!
The 6 Figure Developer Podcast