| {{ label }} {% if sort == col %} {{ '↑' if sort_dir == 'asc' else '↓' }} {% else %} ↕ {% endif %} | {% endmacro %} {{ sort_th('ts', 'Timestamp') }}Trace ID | {{ sort_th('provider', 'Provider') }} {{ sort_th('model', 'Model') }} {{ sort_th('agent', 'Agent') }} {{ sort_th('input', 'Raw Tok', 'right') }} {{ sort_th('output', 'Out Tok', 'right') }}Saved Tok | {{ sort_th('cost', 'Actual $', 'right') }} {{ sort_th('savings', 'Savings $', 'right') }} {{ sort_th('status', 'Status', 'center') }} {{ sort_th('latency', 'Latency', 'right') }}|||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ t.ts_iso[:10] if t.ts_iso else '—' }} {{ t.ts_iso[11:19] if t.ts_iso else '' }} |
{{ t.trace_id[:12] }}…
{% if (t.savings_total or 0) > 0 %}
{% else %}
{% endif %}
|
{% if t.provider %} {{ t.provider }} {% else %}—{% endif %} | {% if t.model %} {{ t.model|truncate(24, True, '…') }} {% else %}—{% endif %} | {% if t.agent_id %} {{ t.agent_id|truncate(18, True, '…') }} {% else %}—{% endif %} | {{ "{:,}".format(t.input_billed or 0) }} | {{ "{:,}".format(t.output_billed or 0) }} | — | ${{ "%.4f"|format(t.actual_cost or 0) }} | {% if has_savings %}+${{ "%.4f"|format(t.savings_total) }}{% else %}—{% endif %} | {% if t.status == 'ok' %} ✓ ok {% elif t.status == 'error' %} ✗ error {% else %} {{ t.status or '?' }} {% endif %} | {% if t.duration_ms %} {% if t.duration_ms >= 1000 %}{{ "%.1f"|format(t.duration_ms / 1000) }}s {% else %}{{ t.duration_ms|int }}ms{% endif %} {% else %}—{% endif %} |
|
No traces found for the selected filters |
|||||||||||