Expand description
Maps Datadog trace/spans directly to the generated prost OTLP types (the IR).
The prost ExportTraceServiceRequest is the single OTLP representation: from it the
HTTP/protobuf wire format is produced by prost encoding and the HTTP/JSON wire format by the
serde serializer in json_serializer. Attributes are built straight into prost
KeyValue/AnyValue in one pass — there is no intermediate value type to keep the two
encoders in sync because there is only one IR.
Modules§
- status_
code - OTLP StatusCode enum values. Public because the OTLP metrics exporter
(
libdd-data-pipeline) reuses these constants.
Functions§
- map_
traces_ to_ otlp - Maps Datadog trace chunks and resource info to a prost OTLP
ExportTraceServiceRequest, built directly from the native span fields (no hex/decimal round trip — the prost types are the IR).