dd-trace-py
dd-trace-py copied to clipboard
LLM observability data is being sent even though DD_LLMOBS_ENABLED is set to "0"
Summary of problem
I was using with LLMObs.llm():
in a function to track LLM observability, intending to control whether the data is sent based on the development environment.
I configured this behavior using the DD_LLMOBS_ENABLED
setting.
However, despite setting DD_LLMOBS_ENABLED
to "0", LLM obs data was sent when using with LLMObs.llm():)
.
Is this the expected behavior or a bug?
Which version of dd-trace-py are you using?
2.11.2
Which libraries and their versions are you using?
FastAPI
`pip freeze`
How can we reproduce your problem?
I set DD_LLMOBS_ENABLED
is set to "0", and used with LLMObs.llm():
What is the result that you get?
Data is sent.
What is the result that you expected?
Data is not sent.