dd-trace-py icon indicating copy to clipboard operation
dd-trace-py copied to clipboard

LLM observability data is being sent even though DD_LLMOBS_ENABLED is set to "0"

Open Gekko0114 opened this issue 4 months ago • 12 comments

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.

Gekko0114 avatar Sep 29 '24 13:09 Gekko0114