Attribute agent trace cost from model calls, tool calls, retry loops, cache hits, and user workflow value