{% from "macros.html" import icon %} {# Queue health chips. The bar chart lives in the sidebar (one sparkline per queue, shared scale) - in here it's just the headline numbers. Latency leads: depth says how much is queued, latency says how far behind we are. Failed renders only when nonzero, so color always means a problem. #}
{{ icon('clock', 'w-3.5 h-3.5') }} latency {{ m.latency|dur if m.latency else '0ms' }} {{ m.completed|compact }} done {% if m.failed %} {{ m.failed|compact }} failed · {{ m.fail_pct }}% {% endif %} {% if m.percentiles.p95 %} p50 {{ m.percentiles.p50|dur }} · p95 {{ m.percentiles.p95|dur }} {% endif %} last {{ m.minutes }}m