Rebus.Diagnostics 1.0.0-alpha01

This is a prerelease version of Rebus.Diagnostics.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Rebus.Diagnostics --version 1.0.0-alpha01                
NuGet\Install-Package Rebus.Diagnostics -Version 1.0.0-alpha01                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Rebus.Diagnostics" Version="1.0.0-alpha01" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rebus.Diagnostics --version 1.0.0-alpha01                
#r "nuget: Rebus.Diagnostics, 1.0.0-alpha01"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Rebus.Diagnostics as a Cake Addin
#addin nuget:?package=Rebus.Diagnostics&version=1.0.0-alpha01&prerelease

// Install Rebus.Diagnostics as a Cake Tool
#tool nuget:?package=Rebus.Diagnostics&version=1.0.0-alpha01&prerelease                

Rebus.OpenTelemetry

Makes Rebus emit Diagnostic traces, which OpenTelemetry can be used to generate tracing.

Usage

Add the packages:

Rebus.Diagnostics
Rebus.OpenTelemetry

When configuring Rebus call EnableDiagnosticSources like this:

using var publisherActivator = new BuiltinHandlerActivator();

var bus = Configure.With(publisherActivator)
    .Transport(t => t.UseInMemoryTransport(new InMemNetwork(), "Messages"))
    .Options(o => o.EnableDiagnosticSources()) // This is the important line
    .Start();

Then add Rebus tracing to your OpenTelemetry calls, by doing AddRebusInstrumentation:

var tracerProvider = Sdk.CreateTracerProviderBuilder()
                .AddRebusInstrumentation()
                .Build()

And then everything should just work. 🙂

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Rebus.Diagnostics:

Package Downloads
Rebus.OpenTelemetry

OpenTelemetry integration for Rebus

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 77,977 7/18/2024
1.0.0 223,754 11/15/2023
1.0.0-alpha03 3,133 4/6/2023
1.0.0-alpha02 181 4/6/2023
1.0.0-alpha01 189 3/29/2023
0.0.5 185,269 2/10/2023
0.0.4 227,494 11/27/2021
0.0.3 5,488 7/25/2021
0.0.2 6,217 2/25/2021
0.0.1 589 2/21/2021