v0.148.0
 1{% if trace_url %}
 2{# Trace exported — link to the span waterfall in Plain Cloud #}
 3<a
 4    href="{{ trace_url }}"
 5    target="_blank"
 6    rel="noopener"
 7    class="inline-flex items-center gap-1.5 cursor-pointer text-xs rounded-full px-2 py-px bg-white/8 text-white/80 hover:bg-white/12 transition-colors"
 8    title="View this request's trace in Plain Cloud"
 9>
10    <svg class="size-3 flex-shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
11        <rect x="2" y="2.5" width="12" height="3" rx="1.5"/>
12        <rect x="5" y="6.5" width="8" height="3" rx="1.5"/>
13        <rect x="3.5" y="10.5" width="6" height="3" rx="1.5"/>
14    </svg>
15    <span class="text-[11px]">Trace</span>
16</a>
17{% elif sampled is false %}
18{# Connect is exporting, but this request was dropped by sampling #}
19<span
20    class="inline-flex items-center gap-1.5 text-xs rounded-full px-2 py-px bg-white/8 text-white/40"
21    title="This request was not sampled for export to Plain Cloud"
22>
23    <svg class="size-3 flex-shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
24        <rect x="2" y="2.5" width="12" height="3" rx="1.5"/>
25        <rect x="5" y="6.5" width="8" height="3" rx="1.5"/>
26        <rect x="3.5" y="10.5" width="6" height="3" rx="1.5"/>
27    </svg>
28    <span class="text-[11px]">Not sampled</span>
29</span>
30{% endif %}