I released some packages for diagnostics and tracing today. The two NServiceBus packages include support for:
- W3C Trace Context and Correlation Context standards (Diagnostics package)
- Activity and DiagnosticSource events (Diagnostics package)
- OpenTelemetry adapters
Diagnostics events are interesting because it exposes an IObservable for internal events. I’m using it for both telemetry and end-to-end testing. With OTel support, I can now view end-to-end traces across ASP .NET Core, HttpClient, SQL, NServiceBus, and MongoDB in one single view.