You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm expecting to see the same trace-id for my publisher and subscriber on zipkin when I set a custom trace-id as a metadata when I call PublishEvent. Ie:
@salaboy I think I'm missing a few steps here. to pass this context from the publisher to the subscriber it needs to be fetched somehow. I couldn't find in your project how to do it.
I see an import statement to import io.diagrid.dapr.otel.OpenTelemetryConfig.getReactorContext; which cannot be resolved with the dapr-spring-boot-starter dependency. Can you help me understand or point me to the docs that explain how to fetch context, modify the trace and propagate to the subscriber?
Expected Behavior
Dapr runtime: 1.15.5
Dapr Cli: 1.15.0
Java SDK: 1.13.3
I'm expecting to see the same trace-id for my publisher and subscriber on zipkin when I set a custom trace-id as a metadata when I call PublishEvent. Ie:
Sample code:
Actual Behavior
Following the example above, Zipkin shows 2 different entries for the publisher and subscriber.each with its own trace-id:
Steps to Reproduce the Problem
Run the sample here: https://github.com/rochabr/dapr-trace-example
The text was updated successfully, but these errors were encountered: