getsentry / getsentry/sentry-python
A better mechanism to avoid duplicate AI Client Spans
Open
Bug
Python
Spans
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 669
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 213
Description
The current mechanism to prevent duplicate spans for LLM spans is global integration disabling.
This means that users cannot trace an agent library like `langchain` together with a client library like `openai` or `anthropic`.
The task is to allow users to gather telemetry from different levels of abstractions without a crude method like disabling one integration.
Contributor guide
Assessment
This issue has not been assessed yet.