I’m using the otel auto-instrumentation to send tr...
# agents
i
I’m using the otel auto-instrumentation to send traces to Grafana, things work well when we speak to the agent via voice mode, there is one session trace and all the turns are child spans of that trace. When we use text input however it creates a new span, is that expected. Is it possible to get this under that same trace?
cc: @jolly-air-155
j
it’s probably we call
generate_reply
in text input callback which is not nested under any agent session tasks
so the span it created is not nested under the agent session, you can create a parent span for the entrypoint maybe
i
yea I patched it to set the otel context using the reference in the session
I can open a PR if this isn’t intended behavior