Hi team, could you please help me with an observab...
# agents
c
Hi team, could you please help me with an observability topic? I've deployed my voice agent to my livekit cloud project. When calling the SIP address with linphone, my agents always repeats the first one or two words. It seems like a SIP ingress audio loop. To investigate further, I would need proper observability data. I'm currently using livekit-agent (1.3.6) and livekit-plugins-openai (1.3.6). But when I open up the session in the dashboard and click on Agent Insights it shows "No observability data available". Do you also know if there's a different dashboard view, where I can find more details (eg. about rooms, etc.)? You can find a screenshot of the Dashboard I currently see. Thanks in advance! Best regards, Michael
q
the observability could take sometime to arrive, and you also have to enable it in the settings page
c
Thanks. Actually, it’s already enabled, and the session ended two hours ago. Do you think it will take longer than two hours?
image.png
Session analytics is already there:
r
What is your project id? It will start with
p_
and you will see it in the URL while on your dashboard.
c
@refined-appointment-81829 p_5f331d0ab8q
r
And you are still not seeing on your dashboard for new sessions?
c
@refined-appointment-81829 Unfortunately not πŸ˜•
r
I do not see any sessions in the past day for the project ID you shared above. Are you sure that is correct?
c
r
Great, looks like you are seeing same thing I am. When did you enable observability on the account?
c
Great. I think two days ago.
r
I guess I don't understand why you have not tested again to see if it working.
c
I've tested it plenty of times yesterday and even today and it didn't work.
I've deleted the agent now and created a new one. I've opened up a few session. Let's see if it works now.
c
https://github.com/livekit/agents/blob/dc93745c2f34a1c8e62564719ecbcf1eb330d6c5/livekit-agents/livekit/agents/telemetry/traces.py#L319 We have debug logs in the upload function. If you switch the logger to print all debug logs, you can check if any uploading occurs at the end of the session. By the way, how are you finishing the session/job?
c
{id: "AE_e3SGa8Wr9Bbg" project_id: "p_5f331d0ab8q" room_id: "RM_CF4c8wJeeGBE" timestamp: "2025-12-03T111135Z" type: "Participant left (CLIENT_INITIATED)" participant_id: "PA_iW9CA2TsuK5z" participant_identity: "agent-AJ_YxMDVDzLyqzK" node_id: "NM_OFRANKFURT1B_5MNHPKTE6Wu9" timestamp_us: 1764760295400432 disconnect_reason: "CLIENT_INITIATED" }
c
These are not trace upload logs. The session should be finished via the
ctx.shutdown
function (or via closing room) without crashing the worker process to complete the upload.
c
Ok, now it works. It seems that an old version of the livekit-agents package was cached. After re-creating the agent, I can finally see observability data in the Agent Insights section. Thanks to everyone for you support πŸ™
πŸ™Œ 2
πŸ™ŒπŸΌ 1