DD_APM_TRACING_ENABLED does not work
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
- Domain
- observability-sre
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
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataDog/dd-trace-java
-
type: feature request
Difficulty 1/5 1-3 hours Newbie friendliness 70/100
DataDog/dd-trace-java#10245 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 62/100
DataDog/dd-trace-java#12608 ·
-
type: bug report
Difficulty 4/5 3-5 days Newbie friendliness 35/100
DataDog/dd-trace-java#12597 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
DataDog/dd-trace-java#12540 · 4 comments · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
DataDog/dd-trace-java#12480 ·
All issues in DataDog/dd-trace-java
Similar issues
-
area/plugin
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
kestra-io/plugin-kestra#190 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/rocketmq-dashboard#5064 ·