Class InstrumentationScopeMetricsMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.metrics.InstrumentationScopeMetricsMarshaler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final InstrumentationScopeMarshalerprivate final byte[] -
Constructor Summary
ConstructorsConstructorDescriptionInstrumentationScopeMetricsMarshaler(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<Marshaler> metricMarshalers) -
Method Summary
Modifier and TypeMethodDescriptionprivate static intcalculateSize(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<Marshaler> metricMarshalers) 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
-
metricMarshalers
-
schemaUrlUtf8
private final byte[] schemaUrlUtf8
-
-
Constructor Details
-
InstrumentationScopeMetricsMarshaler
InstrumentationScopeMetricsMarshaler(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<Marshaler> metricMarshalers)
-
-
Method Details
-
writeTo
- Specified by:
writeToin classMarshaler- Throws:
IOException
-
calculateSize
private static int calculateSize(InstrumentationScopeMarshaler instrumentationScope, byte[] schemaUrlUtf8, List<Marshaler> metricMarshalers)
-