Class InstrumentationScopeMarshaler.RealInstrumentationScopeMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.InstrumentationScopeMarshaler.RealInstrumentationScopeMarshaler
- Enclosing class:
InstrumentationScopeMarshaler
private static final class InstrumentationScopeMarshaler.RealInstrumentationScopeMarshaler
extends MarshalerWithSize
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final KeyValueMarshaler[]
private final byte[]
private final byte[]
-
Constructor Summary
ConstructorsConstructorDescriptionRealInstrumentationScopeMarshaler
(byte[] name, byte[] version, KeyValueMarshaler[] attributes) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
computeSize
(byte[] name, byte[] version, KeyValueMarshaler[] attributes) protected 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
-
name
private final byte[] name -
version
private final byte[] version -
attributes
-
-
Constructor Details
-
RealInstrumentationScopeMarshaler
RealInstrumentationScopeMarshaler(byte[] name, byte[] version, KeyValueMarshaler[] attributes)
-
-
Method Details
-
writeTo
- Specified by:
writeTo
in classMarshaler
- Throws:
IOException
-
computeSize
-