- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

Recording metrics in-process using MeterListener
System.Diagnostics.Metrics APIs - Part 4
In this post I show how you can use MeterListener to listen to Instrument measurements, how to trigger Observable measurements, and how to aggregate values.…

Creating standard and "observable" instruments
System.Diagnostics.Metrics APIs - Part 3
In this post I discuss the various Instrument<T> types exposed by the System.Diagnostics.Metrics API and show examples from the .NET libraries and ASP.NET Core…

Exploring the (underwhelming) System.Diagnostics.Metrics source generators
System.Diagnostics.Metrics APIs - Part 2
In this post I explore the source generators shipped in Microsoft.Extensions.Telemetry.Abstractions, explore the code, and discuss whether I would use them…

Creating and consuming metrics with System.Diagnostics.Metrics APIs
System.Diagnostics.Metrics APIs - Part 1
In this post I provide an introduction to the System.Diagnostics.Metrics API, and show how to create a custom metric and read it with dotnet-counters…

System.Diagnostics.Metrics APIs
In this series I look at the APIs that are part of the System.Diagnostics.Metrics namespace, showing how they work and how to use them…

