Skip to content

feat(core): Instrument langgraph createReactAgent #19372

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions