Expand description
Testing utilities for OpenTelemetry integration testing and validation.
This module provides utilities for testing OpenTelemetry instrumentation, including trace header manipulation, Jaeger trace data structures for validation, and HTTP response testing helpers.
The module contains tools for:
- Parsing and generating trace headers (traceparent, tracestate)
- Deserializing Jaeger trace data for validation
- Testing HTTP responses with trace context
- Generating test trace IDs and span IDs
Modules§
- jaegar
- Data structures for deserializing and traversing Jaeger API responses.
Structs§
- SpanId
- An 8-byte value which identifies a given span.
- TraceId
- A 16-byte value which identifies a given trace.
- Traced
Response - HTTP response wrapper that includes OpenTelemetry trace information.
- Traceparent
- A container for OpenTelemetry trace parent information used in testing.
Enums§
- Tracing
Header Kind - Enumeration of supported tracing header formats for testing.