Skip to content

v0.1.43

Choose a tag to compare

@Mandark-droid Mandark-droid released this 09 Mar 07:11
· 38 commits to main since this release

What's New

Auto session.id on Framework Instrumentor Spans

All three major agentic framework instrumentors now automatically set session.id and framework-specific session aliases on every span, enabling TraceVerse session aggregation without any code changes.

CrewAI

  • session.id and crewai.session.id set on crewai.crew.execution span
  • Propagated to child crewai.task.execution and crewai.agent.execution spans
  • Priority: inputs["session_id"] > OTelConfig.session_id_extractor > Crew instance ID > auto-generated UUID
  • CrewAI added to DEFAULT_INSTRUMENTORS (no longer requires explicit opt-in)

LangGraph

  • session.id and langgraph.session.id set on all graph execution spans (invoke, stream, ainvoke, astream)
  • Priority: input_state["session_id"] > config["configurable"]["thread_id"] > OTelConfig.session_id_extractor > auto-generated UUID

LangChain

  • session.id and langchain.session.id set on chain, agent, and chat model spans
  • Priority: kwargs["session_id"] > input dict session_id > OTelConfig.session_id_extractor > auto-generated UUID

Testing

  • 20 new tests covering all session ID sources, priority ordering, and propagation paths

Full Changelog: v0.1.42...v0.1.43