Expand description
OTLP encoder: maps Datadog spans to the prost OTLP types (the IR), then to the HTTP/protobuf or HTTP/JSON wire format.
Re-exports§
pub use mapper::map_traces_to_otlp;
Modules§
- mapper
- Maps Datadog trace/spans directly to the generated prost OTLP types (the IR).
Structs§
- Otlp
Resource Info - Tracer-level attributes used to populate the OTLP Resource on export.
- Proto
Export Trace Service Request
Functions§
- encode_
otlp_ json - Serialize the prost OTLP request to the HTTP/JSON wire format (OTLP/JSON spec).
- encode_
otlp_ protobuf - Serialize the prost OTLP request to the HTTP/protobuf wire format.