Module spans_view

Module spans_view 

Source
Expand description

JIT-only per-process view of OTel spans Per-process JIT view of OTel spans.

otel_spans mirrors the AsyncEventsView pattern (no batch path; JIT-only; materialized per-process) but the time-conversion plumbing is simpler: OTLP timestamps are absolute nanoseconds (tsc_frequency = 1_000_000_000), so we use the plain find_process flow instead of the latest-timing variant.

Cross-process trace traversal (WHERE trace_id = X across services) is a documented v1 limitation — users supply the process_id to view_instance('otel_spans', '<uuid>') or UNION across multiple instances.

Structs§

OtelSpansView
OtelSpansViewMaker
ViewMaker for OtelSpansView. Per-process only — "global" is rejected.