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 intcomputeSize(byte[] name, byte[] version, KeyValueMarshaler[] attributes) protected voidwriteTo(Serializer output) Methods inherited from class MarshalerWithSize
getBinarySerializedSizeMethods inherited from class 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:
writeToin classMarshaler- Throws:
IOException
-
computeSize
-