{#if loading} {:else if error} {error} {:else if traces.length === 0}

No HTTP requests captured

This job did not make any HTTP/HTTPS requests, or HTTP Request Tracing is not enabled in instance settings.

{:else}

Traces ({traces.length} spans)

Operation
Status
Timeline
Duration
{#each traces as span (span.span_id)} {@const durationNs = span.end_time_unix_nano - span.start_time_unix_nano} {@const startOffset = ((span.start_time_unix_nano - timelineMetrics.minTime) / timelineMetrics.totalDuration) * 100} {@const width = (durationNs / timelineMetrics.totalDuration) * 100} {@const statusCode = span.status?.code ?? 0}
{#if expandedSpans.has(span.span_id)} {@const parsedAttrs = parseAttributes(span.attributes)}

Trace ID

{span.trace_id}

Span ID

{span.span_id}

{#if span.parent_span_id}

Parent Span ID

{span.parent_span_id}

{/if}

Kind

{getKindLabel(span.kind)}

Start Time

{formatTimestamp(span.start_time_unix_nano)}

End Time

{formatTimestamp(span.end_time_unix_nano)}

{#if span.status?.message}

Status Message

{span.status.message}

{/if} {#if Object.keys(parsedAttrs).length > 0}

Attributes

{#each Object.entries(parsedAttrs) as [key, value]}
{key}: {typeof value === 'object' ? JSON.stringify(value) : value}
{/each}
{/if}
{/if}
{/each}
{/if}