Skip to main content

TraceSchemaExt

Trait TraceSchemaExt 

Source
pub trait TraceSchemaExt {
    // Provided method
    fn create_schema() -> Schema { ... }
}

Provided Methods§

Source

fn create_schema() -> Schema

Define the Arrow schema for trace spans.

Hierarchy fields (depth, span_order, path, root_span_id) are NOT stored — they are computed at query time via Rust DFS traversal, matching how Jaeger/Zipkin operate.

Fields align 1:1 with TraceSpanRecord (the ingest type), enabling zero-transform writes.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§