Class AggregationUtil
java.lang.Object
io.opentelemetry.sdk.metrics.internal.aggregator.AggregationUtil
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 StringaggregationName(Aggregation aggregation) Return the human-readable name of theaggregation.static AggregationReturn the aggregation for the human-readablename.
-
Method Details
-
forName
Return the aggregation for the human-readablename.The inverse of
aggregationName(Aggregation).- Throws:
IllegalArgumentException- if the name is not recognized
-
aggregationName
Return the human-readable name of theaggregation.The inverse of
forName(String).- Throws:
IllegalArgumentException- if the aggregation is not recognized
-