getsentry / getsentry/sentry-python

A better mechanism to avoid duplicate AI Client Spans

Open
#5,515 2 comments 0 reactions 1 assignee Claimed by @alexander-alderman-webb View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.