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

Add link from previous trace when publishing messages with pika #3047

Open
mauvilsa opened this issue Nov 25, 2024 · 0 comments
Open

Add link from previous trace when publishing messages with pika #3047

mauvilsa opened this issue Nov 25, 2024 · 0 comments

Comments

@mauvilsa
Copy link

What problem do you want to solve?

From my understanding of messaging-spans, when a producer publishes a message, its span would be linked with the span of the consumers. This does not seem to happen when using opentelemetry-instrumentation-pika.

Describe the solution you'd like

The _decorate_basic_publish should take care of automatically adding links.

Describe alternatives you've considered

I tried to manually implement creation of links, but since the decorator function is not public, I did not understand how this could be done.

Additional Context

No response

Would you like to implement a fix?

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant