{% extends "base.html" %} {% from "macros.html" import page_layout, empty_state, action_button %} {% block content %} {% call page_layout("Traces") %} {% if traces %}
{% for trace_id, spans in traces.items() %}

Trace {{ trace_id }}

{{ spans|length }} spans
{{ action_button("/traces/" + trace_id, "View Details") }}
{% endfor %}
{% else %} {{ empty_state("No traces available") }} {% endif %} {% endcall %} {% endblock %}