Skip to main content

Module otlp_encoder

Module otlp_encoder 

Source
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§

OtlpResourceInfo
Tracer-level attributes used to populate the OTLP Resource on export.
ProtoExportTraceServiceRequest

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.