8000 OpenTelemetry Java agent does not automatically propagate context in ActiveJ applications · Issue #338 · activej/activej · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
OpenTelemetry Java agent does not automatically propagate context in ActiveJ applications #338
Open
@kcsurapaneni

Description

@kcsurapaneni

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:

  1. How can we ensure automatic context propagation when using the OpenTelemetry Java agent?
  2. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0