Skip to content
Discussion options

You must be logged in to vote

OTel is not fully integrated with RM yet. While everything is mostly in place, we are still missing the piece to automatically propagate the context to and from RM. Right now this has to be done manually with:

// outgoing
Message.of(OBJECT, Metadata.of(TracingMetadata.withCurrent(Context.current())))
// incoming
message.getMetadata(TracingMetadata.class).ifPresent(metadata -> QuarkusContextStorage.INSTANCE.attach(metadata.getCurrentContext()));

Replies: 3 comments 24 replies

Comment options

You must be logged in to vote
1 reply
@alesj
Comment options

alesj Jun 27, 2022
Collaborator

Comment options

You must be logged in to vote
23 replies
@edeandrea
Comment options

edeandrea Jun 30, 2022
Collaborator Author

@ozangunalp
Comment options

@edeandrea
Comment options

edeandrea Jul 1, 2022
Collaborator Author

@edeandrea
Comment options

edeandrea Jul 1, 2022
Collaborator Author

@edeandrea
Comment options

edeandrea Jul 1, 2022
Collaborator Author

Answer selected by edeandrea
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment