Open
Description
Hello,
We are attempting to integrate OpenTelemetry instrumentat 5828 ion with an ActiveJ application, following the getting-started tutorial.
In the example, I added a log statement inside the servlet:
logger.info("info")
Our expectation is that each log statement would automatically be associated with the trace ID and span ID, but the log output shows empty values:
03:24:57.080 trace_id= span_id= trace_flags=
We are using Slf4J with Logback, and have already added the following dependencies:
Despite these integrations, it appears that the OpenTelemetry context (trace ID, span ID) is not being automatically propagated to the logs.
Questions:
- How can we ensure automatic context propagation when using the OpenTelemetry Java agent?
- If automatic propagation is not supported, what is the recommended approach to manually configure this for ActiveJ applications?
Thank you for your help!
Metadata
Metadata
Assignees
Labels
No labels