Class InstrumentationScopeLogsMarshaler
- java.lang.Object
-
- io.opentelemetry.exporter.internal.marshal.Marshaler
-
- io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
-
- io.opentelemetry.exporter.internal.otlp.logs.InstrumentationScopeLogsMarshaler
-
final class InstrumentationScopeLogsMarshaler extends MarshalerWithSize
-
-
Field Summary
Fields Modifier and Type Field Description private InstrumentationScopeMarshaler
instrumentationScope
private java.util.List<Marshaler>
logMarshalers
private byte[]
schemaUrlUtf8
-
Constructor Summary
Constructors Constructor Description InstrumentationScopeLogsMarshaler(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, java.util.List<Marshaler> logMarshalers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static int
calculateSize(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, java.util.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 Detail
-
instrumentationScope
private final InstrumentationScopeMarshaler instrumentationScope
-
logMarshalers
private final java.util.List<Marshaler> logMarshalers
-
schemaUrlUtf8
private final byte[] schemaUrlUtf8
-
-
Constructor Detail
-
InstrumentationScopeLogsMarshaler
InstrumentationScopeLogsMarshaler(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, java.util.List<Marshaler> logMarshalers)
-
-
Method Detail
-
writeTo
public void writeTo(Serializer output) throws java.io.IOException
-
calculateSize
private static int calculateSize(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, java.util.List<Marshaler> logMarshalers)
-
-