Skip to main content

Module otlp

Module otlp 

Source
Expand description

OTLP (OpenTelemetry Protocol) span exporter.

Converts tracing spans to OTLP-compatible JSON for export to Jaeger, Zipkin, or any OTLP-compatible backend.

Structs§

OtlpAttribute
A key-value attribute on a span.
OtlpSpan
An OTLP span — OpenTelemetry-compatible trace span.
OtlpStatus
Span status.
ResourceAttributes
Resource attributes (service name, version, etc.).
ResourceSpans
Resource-level spans (one per service).
ScopeInfo
Scope metadata.
ScopeSpans
Scope-level spans.
SpanBatch
Batch of spans for export.

Functions§

build_export_batch
Build a complete OTLP export batch.
build_span
Build an OTLP span from a tracing event.