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 ProtoEnumInfo
private final ExponentialHistogramDataPointMarshaler[]
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ExponentialHistogramMarshaler
(ExponentialHistogramDataPointMarshaler[] dataPointMarshalers, ProtoEnumInfo aggregationTemporality) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
calculateSize
(ExponentialHistogramDataPointMarshaler[] dataPointMarshalers, ProtoEnumInfo aggregationTemporality) (package private) static ExponentialHistogramMarshaler
create
(ExponentialHistogramData histogramData) protected 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
-
dataPoints
-
aggregationTemporality
-
-
Constructor Details
-
ExponentialHistogramMarshaler
private ExponentialHistogramMarshaler(ExponentialHistogramDataPointMarshaler[] dataPointMarshalers, ProtoEnumInfo aggregationTemporality)
-
-
Method Details
-
create
-
writeTo
- Specified by:
writeTo
in classMarshaler
- Throws:
IOException
-
calculateSize
private static int calculateSize(ExponentialHistogramDataPointMarshaler[] dataPointMarshalers, ProtoEnumInfo aggregationTemporality)
-