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 InstrumentationScopeMarshalerprivate final byte[]private final List<SpanMarshaler> -
Constructor Summary
ConstructorsConstructorDescriptionInstrumentationScopeSpansMarshaler(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<SpanMarshaler> spanMarshalers) -
Method Summary
Modifier and TypeMethodDescriptionprivate static intcalculateSize(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<SpanMarshaler> spanMarshalers) voidwriteTo(Serializer output) Methods inherited from class MarshalerWithSize
getBinarySerializedSizeMethods inherited from class 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:
writeToin classMarshaler- Throws:
IOException
-
calculateSize
private static int calculateSize(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<SpanMarshaler> spanMarshalers)
-