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
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.0createReactAgentis replaced withcreate_agent, which is exported fromlangchain. 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