Hi! Why do Google ADK Traces not show cumulative cost?
Google ADK traces may not show cumulative cost at the root span because the current cost aggregation logic in Phoenix only sums costs for direct parent-child relationships, not recursively for all descendants. In complex workflows (like those created by langgraph or Google ADK), this means the root span may not reflect the total cost of the session, and there is no built-in workaround for full cumulative cost aggregation in these cases as of now see discussion see explanation.If you need true session-wide cost, you must aggregate costs across all spans in the session manually, as Phoenix does not currently propagate cumulative cost to the root span for graph-based traces see explanation.Would you like more detail on how to implement custom aggregation or on Phoenix's cost tracking logic?Sources: - https://github.com/Arize-ai/phoenix/issues/8403 - https://github.com/Arize-ai/phoenix/issues/8224
💡 Hint: Mention RunLLM in the thread for followups.
😞
are there any plans on implementing this?
If you tell me the right answer to this question, I'll make sure I don't make the same mistake twice!
Feedback
Type the right answer here...
↵ Please 'enter' to submit
We fixed a UI bug recently. Can you try the latest version: v11.6.1?
looks like I'm running 11.5.0
how can I update it?
is it being hosted somewhere?
oh ok. we can update it on our end. i’ll let the team know
I would greatly appriciate it
and if you can tell me how I can do it myself I can also do it
it’s being hosted in the cloud. so we have to update it
