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

Make it more obvious how to do propagation #27351

Merged
merged 1 commit into from Aug 18, 2022

Conversation

pilhuhn
Copy link
Contributor

@pilhuhn pilhuhn commented Aug 18, 2022

The example itself is misleading as one would not want to Message.addMetadata(<example code>), as in this case the TracingMetadata would be wrapped inside a Metadata object, which does not allow to find it on incoming messages.

TODO: I am not convinced that the .withPrevious() is correct, as in my case https://itnext.io/distributed-tracing-with-quarkus-python-open-telemetry-and-jaeger-part-3-79137543b2c5 it would not take the current traceId, which we just got from the incoming message, but rather use a different one that then breaks the continuation (and effectively creates two separate traces)

@brunobat

@quarkus-bot
Copy link

quarkus-bot bot commented Aug 18, 2022

Thanks for your pull request!

The title of your pull request does not follow our editorial rules. Could you have a look?

  • title should not end up with dot

This message is automatically generated by a bot.

@quarkus-bot quarkus-bot bot added this to To do in Quarkus Documentation Aug 18, 2022
@pilhuhn pilhuhn changed the title Make it more obvious how to do propagation. Make it more obvious how to do propagation Aug 18, 2022
Copy link
Contributor

@brunobat brunobat left a comment

Choose a reason for hiding this comment

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

Thanks @pilhuhn !

Quarkus Documentation automation moved this from To do to Reviewer approved Aug 18, 2022
@pilhuhn pilhuhn marked this pull request as ready for review August 18, 2022 09:00
@gsmet gsmet merged commit cb223a5 into quarkusio:main Aug 18, 2022
Quarkus Documentation automation moved this from Reviewer approved to Done Aug 18, 2022
@quarkus-bot quarkus-bot bot added this to the 2.13 - main milestone Aug 18, 2022
@gsmet gsmet modified the milestones: 2.13 - main, 2.12.0.Final Aug 23, 2022
@BlueDi
Copy link

BlueDi commented Jul 25, 2023

The OpenTelemetry Smallrye example should be revisited.

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

Successfully merging this pull request may close these issues.

None yet

4 participants