diff --git a/src/pages/docs/integrations/traceai/livekit.mdx b/src/pages/docs/integrations/traceai/livekit.mdx index a0ca25e6..9ed459fd 100644 --- a/src/pages/docs/integrations/traceai/livekit.mdx +++ b/src/pages/docs/integrations/traceai/livekit.mdx @@ -112,7 +112,8 @@ async def entrypoint(ctx: JobContext): # Use context manager for parent span instead of decorator # This ensures the span starts when this process is actually running - with tracer.start_as_current_span("LiveKit Agent Session", fi_span_kind="agent") as parent_span: + # conversation is what the voice call list filters on; any other kind hides the call + with tracer.start_as_current_span("LiveKit Agent Session", fi_span_kind="conversation") as parent_span: parent_span.set_input(f"Room: {ctx.room.name}") # Modern AgentSession setup @@ -212,7 +213,8 @@ async def entrypoint(ctx: JobContext): # Use context manager for parent span instead of decorator # This ensures the span starts when this process is actually running - with tracer.start_as_current_span("LiveKit Agent Session", fi_span_kind="agent") as parent_span: + # conversation is what the voice call list filters on; any other kind hides the call + with tracer.start_as_current_span("LiveKit Agent Session", fi_span_kind="conversation") as parent_span: parent_span.set_input(f"Room: {ctx.room.name}") # Modern AgentSession setup diff --git a/src/pages/docs/tracing/auto/livekit.mdx b/src/pages/docs/tracing/auto/livekit.mdx index 38bc2f66..bb655de4 100644 --- a/src/pages/docs/tracing/auto/livekit.mdx +++ b/src/pages/docs/tracing/auto/livekit.mdx @@ -112,7 +112,8 @@ async def entrypoint(ctx: JobContext): # Use context manager for parent span instead of decorator # This ensures the span starts when this process is actually running - with tracer.start_as_current_span("LiveKit Agent Session", fi_span_kind="agent") as parent_span: + # conversation is what the voice call list filters on; any other kind hides the call + with tracer.start_as_current_span("LiveKit Agent Session", fi_span_kind="conversation") as parent_span: parent_span.set_input(f"Room: {ctx.room.name}") # Modern AgentSession setup @@ -212,7 +213,8 @@ async def entrypoint(ctx: JobContext): # Use context manager for parent span instead of decorator # This ensures the span starts when this process is actually running - with tracer.start_as_current_span("LiveKit Agent Session", fi_span_kind="agent") as parent_span: + # conversation is what the voice call list filters on; any other kind hides the call + with tracer.start_as_current_span("LiveKit Agent Session", fi_span_kind="conversation") as parent_span: parent_span.set_input(f"Room: {ctx.room.name}") # Modern AgentSession setup