Skip to main content

otel_arrow_dfe_pdata_views/
lib.rs

1// Copyright The OpenTelemetry Authors
2// SPDX-License-Identifier: Apache-2.0
3
4//! Zero-dependency view traits for OTLP/OTAP telemetry data.
5//!
6//! This crate provides backend-agnostic trait definitions for traversing
7//! hierarchical OTLP data structures without any external dependencies.
8
9/// A 128-bit trace identifier, represented as a 16-byte array.
10pub type TraceId = [u8; 16];
11
12/// A 64-bit span identifier, represented as an 8-byte array.
13pub type SpanId = [u8; 8];
14
15pub mod views;