Episode 096 – Logging and Metrics in .NET Core




The 6 Figure Developer Podcast show

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