Class ResourceMetricsMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.metrics.ResourceMetricsMarshaler
A Marshaler of ResourceMetrics.
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceMetricsMarshaler[]create(Collection<MetricData> metricDataList) Returns Marshalers of ResourceMetrics created by grouping the provided metricData.voidwriteTo(Serializer output) Methods inherited from class MarshalerWithSize
getBinarySerializedSizeMethods inherited from class Marshaler
writeBinaryTo, writeJsonTo, writeJsonTo, writeJsonWithNewline
-
Method Details
-
create
Returns Marshalers of ResourceMetrics created by grouping the provided metricData. -
writeTo
- Specified by:
writeToin classMarshaler- Throws:
IOException
-