Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Gekko0114 opened this issue Sep 29, 2024 · 1 comment

Comments

@Gekko0114
Copy link

Gekko0114 commented Sep 29, 2024

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
Copy link
Author

I have created a PR which might reproduce my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant