Class TraceRequestMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.traces.TraceRequestMarshaler
-
Method Summary
Modifier and TypeMethodDescriptionstatic TraceRequestMarshalercreate(Collection<SpanData> spanDataList) Returns aTraceRequestMarshalerthat can be used to convert the providedSpanDatainto a serialized OTLP ExportTraceServiceRequest.voidwriteTo(Serializer output) Methods inherited from class MarshalerWithSize
getBinarySerializedSizeMethods inherited from class Marshaler
writeBinaryTo, writeJsonTo, writeJsonTo, writeJsonWithNewline
-
Method Details
-
create
Returns aTraceRequestMarshalerthat can be used to convert the providedSpanDatainto a serialized OTLP ExportTraceServiceRequest. -
writeTo
- Specified by:
writeToin classMarshaler- Throws:
IOException
-