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 ProtoEnumInfoprivate final HistogramDataPointMarshaler[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateHistogramMarshaler(HistogramDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality) -
Method Summary
Modifier and TypeMethodDescriptionprivate 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
getBinarySerializedSizeMethods 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:
writeToin classMarshaler- Throws:
IOException
-
calculateSize
private static int calculateSize(HistogramDataPointMarshaler[] dataPoints, ProtoEnumInfo aggregationTemporality)
-