Skip to content

Flag for Span Links not working for Pulsar #8859

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

Closed
damienburke opened this issue Jul 3, 2023 · 2 comments · Fixed by #10650
Closed

Flag for Span Links not working for Pulsar #8859

damienburke opened this issue Jul 3, 2023 · 2 comments · Fixed by #10650
Labels
bug Something isn't working

Comments

@damienburke
Copy link

damienburke commented Jul 3, 2023

Describe the bug
The flag OTEL_INSTRUMENTATION_MESSAGING_EXPERIMENTAL_RECEIVE_TELEMETRY_ENABLED has no impact when publishing / consuming messages using Apache Pulsar

Steps to reproduce
Run an Apache Pulsar Producer and Consumer app and simply publish a message.

What did you expect to see?
With OTEL_INSTRUMENTATION_MESSAGING_EXPERIMENTAL_RECEIVE_TELEMETRY_ENABLED set to true, i would expect to see 2 traces, with a Span link.

What did you see instead?
I just see 1 trace though, for the send, receive and process spans.

What version are you using?
1.26.0 of Otel
Tested against v2.8.4 and 2.11.1. pulsar client.

Environment
Compiler: eclipse-temurin:17.0.7_7
OS: MacOS 13.4
Screenshot 2023-07-03 at 17 41 04

Additional context
This is a very straight forward, happy path use case. My screen shot is of New Relic, which I am aware does not support Span Links. What I did though in addition, was compare the io.opentelemetry.exporter.logging.LoggingSpanExporter output, and they were "identical" for when the flag was true and false. Thanks

@damienburke damienburke added the bug Something isn't working label Jul 3, 2023
@trask
Copy link
Member

trask commented Jul 3, 2023

cc @tjiuming

@tjiuming
Copy link
Contributor

acked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants