{{ pair.kind }} {{ pair.name }} {{ "not comparable" if pair.status == "unknown" else pair.status }}

Base span
{% if pair.base_span_id %}{{ pair.base_span_id }}{% else %}—{% endif %}
Head span
{% if pair.head_span_id %}{{ pair.head_span_id }}{% else %}—{% endif %}
{% if pair.match %}
Matched by
{{ pair.match | replace("_", " ") }}
{% endif %} {% if pair.replay_source %}
Replay
{{ pair.replay_source }}
{% endif %}
Duration Δ
{{ pair.duration_delta_ms | delta_ms }}
{% if pair.subtree_size > 1 %}
Subtree
{{ pair.subtree_size | number }} spans
{% endif %}
{% if pair.status in ("added", "removed") %}

Only in the {{ "head" if pair.status == "added" else "base" }} run.

{% endif %} {% for c in pair.changes %}

{{ c.field }} {{ "not comparable" if c.status == "unknown" else c.status }} {{ c.reason }}

{% if c.redaction %}

Redacted when recorded, so neither value is shown or compared. {% for side, info in c.redaction.items() %}{{ side }}: {% if info %}redacted{% if info.get("rules") %} by {{ info.get("rules") | join(", ") }}{% endif %}{% else %}not redacted{% endif %} {% endfor %}

{% endif %} {% if c.paths and c.paths != ["$"] %}

Differs at {% for p in c.paths %}{{ p }}{% if not loop.last %}, {% endif %}{% endfor %}{% if c.paths_truncated %} and more{% endif %}

{% endif %} {% if c.text_diff %}
{% for line in c.text_diff %}{{ line }}{% endfor %}
{% if c.text_diff_truncated %}

Text diff cut short.

{% endif %} {% elif c.too_large_for_text_diff %}

Too large for a line diff.

{% endif %} {% if not c.redaction and (c.base is not none or c.head is not none) %}
Base value
{{ c.base | pretty }}
Head value
{{ c.head | pretty }}
{% endif %}
{% endfor %} {% if pair.usage %}

Usage (informational)

{% for field, v in pair.usage.items() %}
{{ field }}
{{ v.get("base") }} → {{ v.get("head") }}{% if v.get("delta") is not none %} ({{ v.get("delta") }}){% endif %}
{% endfor %}
{% endif %}