Welcome to Portkey Forum

Updated 2 months ago

Obtaining Trace Data from Langgraph and Langsmith

At a glance

The community member is using LangGraph and LangSmith and wants to get the correct traces to Portkey, not as individual logs but as a trace per graph. The comments suggest that the community member can instrument each call themselves with the tracing feature, or use a logger method that does automatic instrumentation. The community member is also pointed to documentation on using traces in LangGraph agents.

Useful resources
Hey, im using langgraph and langsmith, any way to get the correct traces to portkey? not as individual logs but as a trace per graph?
V
M
3 comments
You can instrument each call yourself with our tracing feature, or you can also use your logger method that does automatic instrumentation. See if this helps: https://portkey.ai/docs/product/observability/traces#tracing-in-langchain
love it thanks man
Add a reply
Sign up and join the conversation on Discord