Skip to content

Incorrect message passed to OpenTelemetry Activity callback #2166

@ChasakisD

Description

@ChasakisD

In the following code

return BuildStartedActivity(parent, source, verb, messageType, activitySetup, activityKind);

The type name of the message is passed to this function and the following name is passed to the activitySetup action

activitySetup(activity, message!);

This is not consistent because in here the whole message object is passed.

receiveActivitySetup?.Invoke(activity, message);

I think in the activitySetup action the whole message object should be passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions