Comments (2)
Thank you @otwieracz. We'll look into it.
cc @Yun-Kim
from dd-trace-py.
I've updated the title to reflect most recent findings. This issue is not related to LangFuse in any way, but instead DataDog instrumentation changes the behaviour of AsyncOpenAI
client.
Without DataDog
asyncio.TimeoutError
exception is correctly propagated
With DataDog
asyncio.TimeoutError
is consumed and None
is returned - which is not a valid response from
None
is not a valid instance of ChatCompletion
. This breaks OpenAI's typing contract:
from dd-trace-py.
Related Issues (20)
- GCP cloud function support HOT 2
- Best Practices for Long Running tasks HOT 1
- botocore SQS custom `MessageAttributes` are not being attached to spans HOT 3
- TypeError: type 'TracedMongoClient' is not subscriptable HOT 1
- OpenAI remaining requests / tokens and requests / tokens consumed are the same HOT 4
- Override aiohttp `distributed_tracing` and `split_by_domain` options per instance? HOT 1
- Agent using OpenAI `model` tags different from integrations HOT 1
- [feature] Selenium Integration HOT 2
- [LLMObs] Send llmobs events split by chunk if it's large enough HOT 2
- Redis logs command arguments even when not configured to do so. HOT 1
- UnboundLocalError: cannot access local variable 'result' where it is not associated with a value HOT 1
- "Error adding sample to profile (ddog_prof_Profile_add failed: Duplicate label on sample" error after enabling experimental profilers HOT 1
- Datadog-Apm-Python-Library is failing to install v2.11.0 on Amazon Linux 2023 EC2 instances. HOT 1
- LLM observability requires "DD_API_KEY" in the primary container even though datadog agent running as a sidecar has the "DD_API_KEY" HOT 1
- Support file and socket I/O data in profiler. HOT 2
- Updating to >= 2.11.0 is breaking with some python3 libs HOT 3
- The `asyncio` integration breaks Faust HOT 2
- Update to v2.11.0 causes "Receiver binary path is not executable: /.venv/lib/python3.11/site-packages/ddtrace/internal/datadog/profiling/crashtracker/crashtracker_exe" error HOT 2
- dd-trace-py is only reporting get-socket in APM spans HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dd-trace-py.