### Example Git Commit Source: https://github.com/rebus-org/rebus.opentelemetry/blob/master/CONTRIBUTING.md An example of how to make a commit with a message. ```bash git commit -am"bam!!!11" ``` -------------------------------- ### Add packages Source: https://github.com/rebus-org/rebus.opentelemetry/blob/master/README.md Add the necessary packages for Rebus.OpenTelemetry integration. ```csharp Rebus.Diagnostics Rebus.OpenTelemetry ``` -------------------------------- ### Enable Diagnostic Sources Source: https://github.com/rebus-org/rebus.opentelemetry/blob/master/README.md Configure Rebus to enable diagnostic sources. ```csharp 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(); ``` -------------------------------- ### Add Rebus Instrumentation Source: https://github.com/rebus-org/rebus.opentelemetry/blob/master/README.md Add Rebus tracing to your OpenTelemetry calls. ```csharp var tracerProvider = Sdk.CreateTracerProviderBuilder() .AddRebusInstrumentation() .Build() ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.