Class HistogramMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.metrics.HistogramMarshaler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ProtoEnumInfo
private final HistogramDataPointMarshaler[]
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
HistogramMarshaler
(HistogramDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality) -
Method Summary
Modifier and TypeMethodDescriptionprivate 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 Details
-
dataPoints
-
aggregationTemporality
-
-
Constructor Details
-
HistogramMarshaler
private HistogramMarshaler(HistogramDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality)
-
-
Method Details
-
create
-
writeTo
- Specified by:
writeTo
in classMarshaler
- Throws:
IOException
-
calculateSize
private static int calculateSize(HistogramDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality)
-