getsentry / getsentry/sentry-javascript

LangGraph — Align with gen_ai RFC #153

未关闭
#20,583 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
javascript Task
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
515

描述

Align the LangGraph integration with [RFC #153]().

### Attribute renames

- [ ] `gen_ai.system` → `gen_ai.provider.name`

### Required attributes

- [ ] `gen_ai.operation.name` set on all spans
- [ ] `gen_ai.provider.name` set on all AI Client spans

### Span changes

- [ ] Remove `gen_ai.create_agent` span type
- [ ] Ensure proper span hierarchy: `invoke_agent` → AI Client → `execute_tool` → AI Client

### Message format

- [ ] `content` → `parts` in `gen_ai.input.messages` and `gen_ai.output.messages`

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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