rebus-org / Rebus.OpenTelemetry

Other
12 stars 4 forks source link

Fallback for when there's no 'rbs2-intent' header #13

Closed riezebosch closed 1 year ago

riezebosch commented 1 year ago

There is this hard dependency on the header here: https://github.com/rebus-org/Rebus.OpenTelemetry/blob/master/Rebus.Diagnostics/Diagnostics/Helpers/MessageWrapper.cs#L22

It is used to deduce the ActivityKind.

But this fails when the "publisher" or "sender" is not using Rebus and does not adhere to these headers.