getsentry / getsentry/sentry-python

Decide what to do with `@ai_track` decorator.

未关闭
#4,854 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
AI Insights Python Task
主要语言
Python
星标
2.2k
派生
669
平均合并
1 天 1 小时
30 天内合并 PR
213

描述

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/

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。