I’m starting to look at implementing OpenTelemetry support for NServiceBus (rather than straight up Jaeger/Zipkin/Dynatrace SDKs). Is anyone else looking at this, before I start pushing out conflicting NuGets?
It would depend on the OpenTelemetry SDK, but hopefully would support the System.Diagnostics.Activity stuff when that’s directly supported.
Right now I’m just starting with supporting the W3C TraceContext standard using the Activity API but will expand out to OpenTelemetry.
Yeah, I figured that from other conversations, but wasn’t sure if anyone else in the community was.
As an aside, I think you folks should definitely follow the OpenTelemetry progress at least. It’s a big focus on .NET 5, and OOTB in .NET Core 3.x, ASP.NET Core, HttpClient, and Azure Service Bus client all support the W3C header standard, and the next step is adding OpenTelemetry standards support for correlation context, all flowing through automatically, and exposed to distributed tracing platforms.
You’re correct about following the OpenTelemetry progress.
Following the officially published status of the project, it’s not yet ready for adoption. Once .NET ecosystem is closer to the v1, we’ll be able to reassess the state of affairs and see how all the things play along. It could be that .NET 5 will serve as a catalyst for this work. But that’s a different topic altogether.
And with that I’ve got full end-to-end tracing of ASP.NET Core, HttpClient, and anything NServiceBus-related all built on the open standards of W3C Trace Context, W3C Correlation Context, and OpenTelemetry:
That image is incoming ASP.NET Core → Rabbit MQ → (Rabbit MQ & HttpClient). Since OpenTelemetry is a standard, it means that this supports any of the exporters that OpenTelemetry supports (AppInsights, Prometheus, Zipkin, Jaeger etc).
Just a prototype for now but hope to release some NuGets soon.