Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

DD_APM_TRACING_ENABLED does not work

Open
#10,051 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java

Research direction

Start by locating the Java SDK handling for DD_APM_TRACING_ENABLED, dd.apm.tracing-enabled, and the LLMObs entry points. Verify whether disabling APM tracing can preserve LLM Observability tracing, and add or update a regression test showing both behaviors.

Written by the indexing model from the issue text.

Description

comp: mlobs type: bug report
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

Dominant language
Java
Stars
737
Forks
361
Avg merge
3d 20h
Merged PRs (30d)
173

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DataDog/dd-trace-java

All issues in DataDog/dd-trace-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.