getsentry / getsentry/sentry-python

Decide what to do with `@ai_track` decorator.

Ouverte
#4,854 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
AI Insights Python Task
Langage dominant
Python
Étoiles
2.2k
Forks
669
Merge moyen
1 j 1 h
PR mergées (30 j)
213

Description

We have a decorator [@ai_track](https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/ai/monitoring.py#L30) which creates spans with an `op` either `ai.run` or `ai.pipeline`.

With the new AI insights module and agentic coding the concept of a AI pipeline is maybe not as important anymore?

We need to make a decision if we want to deprecated `@ai_track` or if we want to change it to make it work with the AI insights in Sentry.

The only documentation of the decorator I could find is this blog post: https://blog.sentry.io/ai-application-insights-with-sentry-llm-monitoring/

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.