Class TraceRequestMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.traces.TraceRequestMarshaler
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
TraceRequestMarshaler
(ResourceSpansMarshaler[] resourceSpansMarshalers) -
Method Summary
Modifier and TypeMethodDescriptionstatic TraceRequestMarshaler
create
(Collection<SpanData> spanDataList) Returns aTraceRequestMarshaler
that can be used to convert the providedSpanData
into a serialized OTLP ExportTraceServiceRequest.void
writeTo
(Serializer output) Methods inherited from class io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
getBinarySerializedSize
Methods inherited from class io.opentelemetry.exporter.internal.marshal.Marshaler
writeBinaryTo, writeJsonTo, writeJsonTo, writeJsonWithNewline
-
Field Details
-
resourceSpansMarshalers
-
-
Constructor Details
-
TraceRequestMarshaler
-
-
Method Details
-
create
Returns aTraceRequestMarshaler
that can be used to convert the providedSpanData
into a serialized OTLP ExportTraceServiceRequest. -
writeTo
- Specified by:
writeTo
in classMarshaler
- Throws:
IOException
-