{% import 'ui/kit.html' as kit %}{% import 'ui/telemetry/_t.html' as t with context %} {%- if l is none %} {% call kit.drawer('log', 'Not found') %}

That line is no longer retained.

{% endcall %} {%- else %} {% call kit.drawer(l.severity, l.service) %}
{{ l.body }}
{{ kit.kv([('Time', h.clock_ms(l.ts_us)), ('Severity', l.severity), ('Service', l.service), ('Logger', l.scope or 'unset'), ('Span', l.span_id or 'none')]) }}
Correlation
{%- if l.trace_id %} Open the trace
{{ l.trace_id }}
Every line from this trace {%- else %}

This line carries no trace id, so it cannot be correlated. Emit logs through an OpenTelemetry SDK inside an active span and the trace id is attached for you.

{%- endif %}
Attributes {{ l.attrs|length }} on this line
{{ t.attrs_table(l.attrs) }} {% endcall %} {%- endif %}