Class InstrumentationScopeMetricsMarshaler
- java.lang.Object
-
- io.opentelemetry.exporter.internal.marshal.Marshaler
-
- io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
-
- io.opentelemetry.exporter.internal.otlp.metrics.InstrumentationScopeMetricsMarshaler
-
final class InstrumentationScopeMetricsMarshaler extends MarshalerWithSize
-
-
Field Summary
Fields Modifier and Type Field Description private InstrumentationScopeMarshaler
instrumentationScope
private java.util.List<Marshaler>
metricMarshalers
private byte[]
schemaUrlUtf8
-
Constructor Summary
Constructors Constructor Description InstrumentationScopeMetricsMarshaler(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, java.util.List<Marshaler> metricMarshalers)
-
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> metricMarshalers)
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
-
metricMarshalers
private final java.util.List<Marshaler> metricMarshalers
-
schemaUrlUtf8
private final byte[] schemaUrlUtf8
-
-
Constructor Detail
-
InstrumentationScopeMetricsMarshaler
InstrumentationScopeMetricsMarshaler(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, java.util.List<Marshaler> metricMarshalers)
-
-
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> metricMarshalers)
-
-