豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

feat(core): Instrument langgraph createReactAgent #19372

@github-actions

Description

@github-actions

Note

The pull request "feat(core): Instrument langgraph createReactAgent" was created by @nicohrubec but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.

This PR instruments langgraph createReactAgent. This is only relevant for pre v1 langgraph. Starting from v >1.0.0 createReactAgent is replaced with create_agent, which is exported from langchain. The model is now also extracted and send along in the span. Getting this to run required some changes to opentelemetry and IITM to allow for instrumentation of submodule exports (that's why there are a bunch of version bumps in here as well).

Closes

Metadata

Metadata

Assignees

Labels

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions