Skip to main content

LangGraph

Native LangGraph helpers are on the roadmap. Use the manual pattern below today - it works with any StateGraph.

Pattern

Wrap each node with a telemetry span and reuse the same execution_id across nodes.

What gets captured

  • One execution per graph run (shared execution_id)
  • One CUSTOM span per node, with input/output state
  • Use MODEL_INVOCATION / TOOL_CALL span types inside nodes that call LLMs or external tools