From the previous post on building NServiceBus metrics, I've pushed a new version of the NServiceBus.Extensions.Diagnostics and OpenTelemetry packages:
- NServiceBus.Extensions.Diagnostics NuGet
- NServiceBus.Extensions.Diagnostics ReadMe
- NServiceBus.Extensions.Diagnostics.OpenTelemetry NuGet
- NServiceBus.Extensions.Diagnostics.OpenTelemetry ReadMe
As before, the OpenTelemetry packages are just small wrappers around
MeterBuilderProvider.AddMeter so they aren't strictly necessary but maybe look a little cleaner?
The OpenTelemetry package is a pre-release package as the Metrics support in .NET OpenTelemetry are still in RC (the exporters). Metrics themselves are part of the
System.Diagnostics.DiagnosticsSource 6.0 release.