Class ExponentialHistogramMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.metrics.ExponentialHistogramMarshaler
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ProtoEnumInfoprivate final ExponentialHistogramDataPointMarshaler[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateExponentialHistogramMarshaler(ExponentialHistogramDataPointMarshaler[] dataPointMarshalers, ProtoEnumInfo aggregationTemporality) -
Method Summary
Modifier and TypeMethodDescriptionprivate static intcalculateSize(ExponentialHistogramDataPointMarshaler[] dataPointMarshalers, ProtoEnumInfo aggregationTemporality) (package private) static ExponentialHistogramMarshalercreate(ExponentialHistogramData histogramData) protected 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
-
dataPoints
-
aggregationTemporality
-
-
Constructor Details
-
ExponentialHistogramMarshaler
private ExponentialHistogramMarshaler(ExponentialHistogramDataPointMarshaler[] dataPointMarshalers, ProtoEnumInfo aggregationTemporality)
-
-
Method Details
-
create
-
writeTo
- Specified by:
writeToin classMarshaler- Throws:
IOException
-
calculateSize
private static int calculateSize(ExponentialHistogramDataPointMarshaler[] dataPointMarshalers, ProtoEnumInfo aggregationTemporality)
-