{% extends "base.html" %} {% block title %}Runs{% endblock %} {% block content %} {% if runs %}
{% for group in runs|groupby('date_label') %}
[ {{ group.grouper|upper }} ]
{% for run in group.list %} {% endfor %}
Run ID Function Started Duration Spans Status
{{ run.id[:8] }}… {{ run.name }} {{ run.started_at.strftime('%H:%M:%S') }} {{ run.duration_ms }}ms {{ run.span_count }} {% if run.status == 'ok' %} ok {% elif run.status == 'error' %} error {% else %} running {% endif %}
{% endfor %}
{% else %}
[ GET STARTED ]

No traces yet. Add @trace to any function and run it — your first trace will appear here automatically.

from glasspipe import trace

@trace
def my_agent(question):
    return "your answer here"

my_agent("hello")

Then run: glasspipe dashboard

{% endif %} {% endblock %}