Class InstrumentationScopeSpansMarshaler
- java.lang.Object
-
- io.opentelemetry.exporter.internal.marshal.Marshaler
-
- io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
-
- io.opentelemetry.exporter.internal.otlp.traces.InstrumentationScopeSpansMarshaler
-
final class InstrumentationScopeSpansMarshaler extends MarshalerWithSize
-
-
Field Summary
Fields Modifier and Type Field Description private InstrumentationScopeMarshaler
instrumentationScope
private byte[]
schemaUrlUtf8
private java.util.List<SpanMarshaler>
spanMarshalers
-
Constructor Summary
Constructors Constructor Description InstrumentationScopeSpansMarshaler(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, java.util.List<SpanMarshaler> spanMarshalers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static int
calculateSize(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, java.util.List<SpanMarshaler> spanMarshalers)
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 Detail
-
instrumentationScope
private final InstrumentationScopeMarshaler instrumentationScope
-
spanMarshalers
private final java.util.List<SpanMarshaler> spanMarshalers
-
schemaUrlUtf8
private final byte[] schemaUrlUtf8
-
-
Constructor Detail
-
InstrumentationScopeSpansMarshaler
InstrumentationScopeSpansMarshaler(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, java.util.List<SpanMarshaler> spanMarshalers)
-
-
Method Detail
-
writeTo
public void writeTo(Serializer output) throws java.io.IOException
-
calculateSize
private static int calculateSize(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, java.util.List<SpanMarshaler> spanMarshalers)
-
-