Class InstrumentationScopeSpansMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.traces.InstrumentationScopeSpansMarshaler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final InstrumentationScopeMarshaler
private final byte[]
private final List
<SpanMarshaler> -
Constructor Summary
ConstructorsConstructorDescriptionInstrumentationScopeSpansMarshaler
(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<SpanMarshaler> spanMarshalers) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
calculateSize
(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, 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 Details
-
instrumentationScope
-
spanMarshalers
-
schemaUrlUtf8
private final byte[] schemaUrlUtf8
-
-
Constructor Details
-
InstrumentationScopeSpansMarshaler
InstrumentationScopeSpansMarshaler(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<SpanMarshaler> spanMarshalers)
-
-
Method Details
-
writeTo
- Specified by:
writeTo
in classMarshaler
- Throws:
IOException
-
calculateSize
private static int calculateSize(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<SpanMarshaler> spanMarshalers)
-