Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental option to suppress messaging receive spans #4187

Merged
merged 7 commits into from
Sep 23, 2021
Merged

Experimental option to suppress messaging receive spans #4187

merged 7 commits into from
Sep 23, 2021

Conversation

trask
Copy link
Member

@trask trask commented Sep 22, 2021

Introducing this option was discussed in last week's Messaging SIG. Experience from Node is that users think messaging instrumentation is broken when the producer and consumer spans don't have the same traceId.

EDIT: the current modeling is correct per the current messaging semantic conventions, and you should be seeing links from consumers to producers, but links are not modeled great in all backends yet, which is where this option comes in handy (as well as if you just want a simpler trace structure)

Copy link
Member

@mateuszrzeszutek mateuszrzeszutek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

static Consumer<Integer, String> consumer


def setupSpec() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about extracting a base class that'll contain the whole kafka setup?

@trask trask merged commit 3ce9405 into open-telemetry:main Sep 23, 2021
@trask trask deleted the experimental-option-to-suppress-messaging-receive-spans branch September 23, 2021 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants