Class InstrumentationScopeLogsMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.logs.InstrumentationScopeLogsMarshaler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final InstrumentationScopeMarshalerprivate final byte[] -
Constructor Summary
ConstructorsConstructorDescriptionInstrumentationScopeLogsMarshaler(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<Marshaler> logMarshalers) -
Method Summary
Modifier and TypeMethodDescriptionprivate static intcalculateSize(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<Marshaler> logMarshalers) voidwriteTo(Serializer output) Methods inherited from class io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
getBinarySerializedSizeMethods inherited from class io.opentelemetry.exporter.internal.marshal.Marshaler
writeBinaryTo, writeJsonTo, writeJsonTo, writeJsonWithNewline
-
Field Details
-
instrumentationScope
-
logMarshalers
-
schemaUrlUtf8
private final byte[] schemaUrlUtf8
-
-
Constructor Details
-
InstrumentationScopeLogsMarshaler
InstrumentationScopeLogsMarshaler(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<Marshaler> logMarshalers)
-
-
Method Details
-
writeTo
- Specified by:
writeToin classMarshaler- Throws:
IOException
-
calculateSize
private static int calculateSize(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<Marshaler> logMarshalers)
-