thomas
August 15, 2025, 9:59am
1
Hi,
I use Agno + Langfuse but the traces are not properly formatted I guess because Agno does not export the the correct format ( for langfuse). In pure agno traces you see the ‘run_response’ as top level and with langfuse you see ‘messages’.
Anyone figured out if there is a way to achieve proper formatting in langfuse? I just use the documentation default to have agno export traces to lagnfuse.
Thanks!
Monali
August 18, 2025, 6:13am
2
Hey @thomas , thanks for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all requests one by one and will get back to you soon.If it’s urgent, please let us know. We appreciate your patience!
Also facing this issue, it seems it is related to the opentelemetry package, there is an open issue on their end:
opened 06:07PM - 06 Aug 25 UTC
bug
language: python
**Describe the bug**
AgnoInstrumentor currently produces spans containing extrem… ely verbose metadata - such as nested objects, full config dumps, which makes the trace data practically unusable for debugging or observability. The noise overwhelms key insights, making the tracing ineffective and resulting in incorrect tracing costs.
Some numbers to visualise the problem:
- over 20 000 characters of metadata in user input
- 212 total json lines in the output - 209 are metadata. The real model response was only 3 sentences.
**To Reproduce**
Use AgnoInstrumentor().instrument()
**Expected Behaviour**
Spans should show only essential parts like user message, output text. Metadata should be stored in metadata.
**Actual Behaviour**
Tracing UIs display spans exceeding 200 lines or more, filled with nested agent configs, state, and irrelevant fields.
Searching for the actual user message becomes extremely difficult, practically impossible.
**Screenshots**
Input message:
<img width="557" height="424" alt="Image" src="https://github.com/user-attachments/assets/e98f3e83-0c04-4357-8cfd-ed9bc9171186" />
Output message:
<img width="895" height="309" alt="Image" src="https://github.com/user-attachments/assets/3df3a271-189d-4432-8d8e-be2723f71eee" />
**Additional context**
We are using Langfuse for tracing.
Monali
August 21, 2025, 6:09am
4
Hey @thomas , we are very sorry for the delay here. @WillemdeJongh1 will be here shortly to help you with your questions
1 Like
Ruan
September 19, 2025, 1:45pm
5
Hey all,
Just noting that we haven’t forgotten about this issue. It’s still tracked and we’ll make time to work on it.
Apologies for the delay but thanks so much for your patience.
I am facing the same issue. The problem is related to the Opentelemety package ? Not the Agno framework ?
Monali
October 7, 2025, 8:51am
7
Hi @hunglv53 , sorry about this. We are actively working on fixing this. We will make sure to keep you in loop.