getsentry / getsentry/sentry-javascript

LangGraph — Align with gen_ai RFC #153

Open
#20,583 1 comment 0 reactions 0 assignees View on GitHub
javascript Task
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

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`

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.