Class GaugeMarshaler
- java.lang.Object
-
- io.opentelemetry.exporter.internal.marshal.Marshaler
-
- io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
-
- io.opentelemetry.exporter.internal.otlp.metrics.GaugeMarshaler
-
final class GaugeMarshaler extends MarshalerWithSize
-
-
Field Summary
Fields Modifier and Type Field Description private NumberDataPointMarshaler[]
dataPoints
-
Constructor Summary
Constructors Modifier Constructor Description private
GaugeMarshaler(NumberDataPointMarshaler[] dataPoints)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static int
calculateSize(NumberDataPointMarshaler[] dataPoints)
(package private) static GaugeMarshaler
create(GaugeData<? extends PointData> gauge)
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 NumberDataPointMarshaler[] dataPoints
-
-
Constructor Detail
-
GaugeMarshaler
private GaugeMarshaler(NumberDataPointMarshaler[] dataPoints)
-
-
Method Detail
-
create
static GaugeMarshaler create(GaugeData<? extends PointData> gauge)
-
writeTo
public void writeTo(Serializer output) throws java.io.IOException
-
calculateSize
private static int calculateSize(NumberDataPointMarshaler[] dataPoints)
-
-