-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
During incorporation of this project as a NuGet package we have encountered an issue, which results in missing type of a message for ActivityKind: Server and Internal (for Client it works fine and is visible as it should be). I saw in the source code that you are extracting type of a message with use of .GetMessageType()
method, but it seems to not always return it:
/// <summary>
/// Gets the message type from the message
/// </summary>
public static string GetMessageType(this TransportMessage message)
{
if (message == null) throw new ArgumentNullException(nameof(message));
return message.Headers.GetValueOrNull(Headers.Type)
?? "<unknown>";
}
Maybe there is a better way to extract type of a message(?), because right now we have ended up with our custom implementation, which uses Rebus.Events NuGet package and with is the type of a message is always present.
I am including screenshots from our Datadog instance to illustrate what the problem is in a better way:
Metadata
Metadata
Assignees
Labels
No labels