{# Shared bits for the trace views. #} {% macro badge(status) -%} {{ status }} {%- endmacro %} {% macro tabs(app, tab) -%}
| Time (UTC) | {% if show_app %}App | {% endif %}Agent | Session | Status | Model | Tokens | Duration |
|---|---|---|---|---|---|---|---|
| {{ r.started_at|dt }} | {% if show_app %}{{ a }} | {% endif %}{{ r.agent }}{% if r.flow %} via {{ r.flow }}{% endif %} | {% if r.session_id %}{{ r.session_id|short }}{% else %}—{% endif %} | {{ badge(r.status) }}{% if r.violations %} {{ r.violations }} viol.{% endif %} | {{ r.model or '—' }} | {{ r.tokens|num }} | {{ r.duration_ms|ms }} |
All traces Blocked or error · peak {{ chart.peak }} per hour · {{ chart.sum|num }} in 7 days
{%- endmacro %}