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 ProtoEnumInfo
aggregationTemporality
private HistogramDataPointMarshaler[]
dataPoints
-
Constructor Summary
Constructors Modifier Constructor Description private
HistogramMarshaler(HistogramDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static int
calculateSize(HistogramDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality)
(package private) static HistogramMarshaler
create(HistogramData histogram)
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
-
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)
-
-