Skip to content

DD_APM_TRACING_ENABLED does not work #10051

@jaime-costasinsua-ext-adv

Description

Tracer Version(s)

1.56.1

Java Version(s)

17

JVM Vendor

Oracle JDK

Bug Report

I'm using the LLM observability features of the Java SDK, but I'm not interested in APM tracing. I've set the env varDD_APM_TRACING_ENABLED to false, but traces are still being recorded. I've also tried with system property dd.apm.tracing-enabled, no luck there either.

Expected Behavior

According to the documentation, DD_APM_TRACING_ENABLED is expected to work in all SDKs. I'd expect this env var to properly disable APM tracing whilst still allowing the LLM Observability tracing to work.

Note that I've also tried using DD_TRACE_ENABLED, but this makes the methods in LLMObs fail with a NullPointerException.

Reproduction Code

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    comp: mlobsML Observability (LLMObs)type: bugBug report and fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions