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 labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions