//! OpenTelemetry tracing support for mcptest (SEP-414).
//!
//! v1 ships the trace-context library: the typed W3C
//! [`TraceParent`] / [`TraceState`] format from RFC 9462, helpers
//! that inject them into a request `_meta` block (and extract them
//! back out), plus the stable span-name conventions a future
//! exporter will use.
//!
//! v2 wires this library to an actual OpenTelemetry SDK so a run
//! emits spans into Jaeger / otel-cli / any OTLP collector. The
//! library v1 lets the runner already attach correct
//! `traceparent` / `tracestate` headers to outbound requests so a
//! server that re-emits the trace context produces a coherent
//! parent/child relationship before the exporter lands.

pub mod span_names;
pub mod trace_context;

pub use span_names::{tool_call_span_name, RUN_SPAN_NAME, TEST_SPAN_NAME};
pub use trace_context::{
    extract_from_meta, inject_into_meta, TraceContextError, TraceFlags, TraceParent, TraceState,
};
