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 InstrumentationScopeMarshaler
private final byte[]
-
Constructor Summary
ConstructorsConstructorDescriptionInstrumentationScopeLogsMarshaler
(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<Marshaler> logMarshalers) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
calculateSize
(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<Marshaler> logMarshalers) 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
-
logMarshalers
-
schemaUrlUtf8
private final byte[] schemaUrlUtf8
-
-
Constructor Details
-
InstrumentationScopeLogsMarshaler
InstrumentationScopeLogsMarshaler(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<Marshaler> logMarshalers)
-
-
Method Details
-
writeTo
- Specified by:
writeTo
in classMarshaler
- Throws:
IOException
-
calculateSize
private static int calculateSize(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<Marshaler> logMarshalers)
-