Logging, tracing and metrics: instrumentation in .NET and Azure - Alex Thissen - NDC London 2023

"Instrumentation in .NET and Azure: Learn how to harness logging, tracing, and metrics using Application Insights and Azure Monitor for ultimate observability, improving DevOps and cloud development."

Key takeaways
  • Focus on instrumentation in .NET and Azure
  • Use application insights and Azure monitor for observability
  • Metrics are about numbers, tracing is about the flow of an application
  • Concerns about DevOps mindset and developing in the cloud
  • Importance of understanding system usage and resource utilization
  • Use of tracing and logging for debugging and error tracking
  • Event sources and event counters can be used for tracing and logging
  • Structured logging (semantic logging) allows for filtering and querying of log data
  • Application insights and Azure monitor provide a centralized location for monitoring and analyzing system data
  • Activities can be used to track flow and operation of system
  • Log providers such as Sacramento and siri log can be used for logging
  • Connection between application insights and open telemetry
  • Application insights and open telemetry provide a way to collect data from applications
  • Importance of telemetry libraries for sending data to application insights and OpenTelemetry
  • Availability and alerting capabilities in application insights and Azure monitor
  • Example of a simple application using Azure Functions and Orleans
  • Use of tracing and logging in application insights and Azure monitor
  • Example of structured logging with categories and severity levels