Skip to content

OtelExportRequest

This docs was updated at: 2026-02-23

com.paragon.telemetry.otel.OtelExportRequest  ยท  Record


Full OTLP/HTTP trace export request body. This is the top-level structure sent to trace ingestion endpoints.

Follows the OTLP/HTTP specification for ExportTraceServiceRequest.

Methods

forSpan

public static @NonNull OtelExportRequest forSpan(@NonNull OtelSpan span)

Creates an export request for a single span.


forSpans

public static @NonNull OtelExportRequest forSpans(@NonNull List<OtelSpan> spans)

Creates an export request for multiple spans.