Class HistogramMarshaler
- java.lang.Object
-
- io.opentelemetry.exporter.internal.marshal.Marshaler
-
- io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
-
- io.opentelemetry.exporter.internal.otlp.metrics.HistogramMarshaler
-
final class HistogramMarshaler extends MarshalerWithSize
-
-
Field Summary
Fields Modifier and Type Field Description private ProtoEnumInfoaggregationTemporalityprivate HistogramDataPointMarshaler[]dataPoints
-
Constructor Summary
Constructors Modifier Constructor Description privateHistogramMarshaler(HistogramDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static intcalculateSize(HistogramDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality)(package private) static HistogramMarshalercreate(HistogramData histogram)voidwriteTo(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
-
dataPoints
private final HistogramDataPointMarshaler[] dataPoints
-
aggregationTemporality
private final ProtoEnumInfo aggregationTemporality
-
-
Constructor Detail
-
HistogramMarshaler
private HistogramMarshaler(HistogramDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality)
-
-
Method Detail
-
create
static HistogramMarshaler create(HistogramData histogram)
-
writeTo
public void writeTo(Serializer output) throws java.io.IOException
-
calculateSize
private static int calculateSize(HistogramDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality)
-
-