-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Hello again team,
Referencing my last issue: #1123
I found the issue why OTel Tracer was not propagating events. The sample codes provided here is incomplete.
Essentially, the EventPublishingContextWrapper provided by Micrometer OTel bridge was not wired up. What's missing:
OtelTracer.EventPublisher eventPublisher = event -> {
slf4JEventListener.onEvent(event);
slf4JBaggageEventListener.onEvent(event);
};
ContextStorage.addWrapper(new EventPublishingContextWrapper(eventPublisher));
I had attempted to update the documents at here but realized that the sample in documentation was an extraction of top level variables initialization within the class (I.e. it wasn't possible to invoke the addition of the wrapper)
Metadata
Metadata
Assignees
Labels
No labels