Using the Decorator Pattern to Auto-Instrument .Net Classes With Otel Tracing | by Roni Dover | Jun, 2022

How decorators can help keep OpenTelemetry tracing instrumentation DRY Image by author .NET has definitely embraced OpenTelemetry in its recent releases. Its support for defining traces and spans using the built-in System. Diagnostics classes greatly simplify the task of instrumenting code. My only nitpicky complaint about the .NET implementation is the terminology confusion it manages … Read more