{{ event.kind }} {{ event.name }} {{ event.status }}

Span
{{ event.span_id }}
{% if event.parent_span_id %}
Parent
{{ event.parent_span_id }}
{% endif %}
Started
{{ event.start_time_ns | utc }}
Duration
{{ event.duration_ms | duration }}
{% if event.status_message %}
Status message
{{ event.status_message }}
{% endif %}
{% if event.truncated %}
Truncated when recorded:
{% endif %}

Attributes

{% for key, value in event.attributes.items() %} {% if key != "agentflight.truncated" %}
{{ key }}
{{ value | pretty }}
{% endif %} {% endfor %} {% if event.span_events %}

Span events

{% for se in event.span_events %}
{{ se.get("name") }} {{ se.get("time_ns") | utc }} {% for key, value in (se.get("attributes") or {}).items() %}
{{ key }}
{{ value | pretty }}
{% endfor %}
{% endfor %} {% endif %}