Skip to main content

append_fixed

Function append_fixed 

Source
pub(crate) fn append_fixed(
    b: &mut FixedSizeBinaryBuilder,
    v: &[u8],
    width: usize,
) -> Result<()>
Expand description

OTLP leaves trace_id/span_id empty when unset; anything that is neither empty nor the exact width is malformed and becomes null rather than an error — a bad id must not cost the caller the whole export.