Uses of Interface
io.opentelemetry.sdk.metrics.Aggregation
Packages that use Aggregation
Package
Description
OpenTelemetry exporter which sends metric data to OpenTelemetry collector via OTLP HTTP.
OpenTelemetry exporter which sends metric data to OpenTelemetry collector via OTLP gRPC.
The SDK implementation of metrics.
Utilities that facilitate exporting metrics out of
SdkMeterProvider
.Metric aggregators.
View related internal classes.
-
Uses of Aggregation in io.opentelemetry.exporter.otlp.http.metrics
Methods in io.opentelemetry.exporter.otlp.http.metrics that return AggregationModifier and TypeMethodDescriptionOtlpHttpMetricExporter.getDefaultAggregation
(InstrumentType instrumentType) -
Uses of Aggregation in io.opentelemetry.exporter.otlp.metrics
Methods in io.opentelemetry.exporter.otlp.metrics that return AggregationModifier and TypeMethodDescriptionOtlpGrpcMetricExporter.getDefaultAggregation
(InstrumentType instrumentType) -
Uses of Aggregation in io.opentelemetry.sdk.metrics
Fields in io.opentelemetry.sdk.metrics declared as AggregationModifier and TypeFieldDescriptionprivate final Aggregation
AutoValue_View.aggregation
private Aggregation
ViewBuilder.aggregation
Methods in io.opentelemetry.sdk.metrics that return AggregationModifier and TypeMethodDescriptionstatic Aggregation
Aggregation.base2ExponentialBucketHistogram()
Aggregates measurements into a base-2MetricDataType.EXPONENTIAL_HISTOGRAM
using the defaultmaxBuckets
andmaxScale
.static Aggregation
Aggregation.base2ExponentialBucketHistogram
(int maxBuckets, int maxScale) Aggregates measurements into a base-2MetricDataType.EXPONENTIAL_HISTOGRAM
.static Aggregation
Aggregation.defaultAggregation()
Choose the default aggregation for theInstrumentType
.static Aggregation
Aggregation.drop()
Drops all measurements and don't export any metric.static Aggregation
Aggregation.explicitBucketHistogram()
Aggregates measurements into an explicit bucketMetricDataType.HISTOGRAM
using the default bucket boundaries.static Aggregation
Aggregation.explicitBucketHistogram
(List<Double> bucketBoundaries) Aggregates measurements into an explicit bucketMetricDataType.HISTOGRAM
.AutoValue_View.getAggregation()
abstract Aggregation
View.getAggregation()
Returns the aggregation of the resulting metric.static Aggregation
Aggregation.lastValue()
Records the last seen measurement as aMetricDataType.DOUBLE_GAUGE
orMetricDataType.LONG_GAUGE
.static Aggregation
Aggregation.sum()
Aggregates measurements into aMetricDataType.DOUBLE_SUM
orMetricDataType.LONG_SUM
.Methods in io.opentelemetry.sdk.metrics with parameters of type AggregationModifier and TypeMethodDescription(package private) static View
View.create
(String name, String description, Aggregation aggregation, AttributesProcessor attributesProcessor, int cardinalityLimit) ViewBuilder.setAggregation
(Aggregation aggregation) SetsAggregation
.Constructors in io.opentelemetry.sdk.metrics with parameters of type AggregationModifierConstructorDescription(package private)
AutoValue_View
(String name, String description, Aggregation aggregation, AttributesProcessor attributesProcessor, int cardinalityLimit) -
Uses of Aggregation in io.opentelemetry.sdk.metrics.export
Methods in io.opentelemetry.sdk.metrics.export that return AggregationModifier and TypeMethodDescriptionDefaultAggregationSelector.getDefaultAggregation
(InstrumentType instrumentType) Return the default aggregation for theInstrumentType
.default Aggregation
MetricExporter.getDefaultAggregation
(InstrumentType instrumentType) Return the default aggregation for theInstrumentType
.default Aggregation
MetricReader.getDefaultAggregation
(InstrumentType instrumentType) Return the default aggregation for theInstrumentType
.PeriodicMetricReader.getDefaultAggregation
(InstrumentType instrumentType) Methods in io.opentelemetry.sdk.metrics.export with parameters of type AggregationModifier and TypeMethodDescriptiondefault DefaultAggregationSelector
DefaultAggregationSelector.with
(InstrumentType instrumentType, Aggregation aggregation) Returns a default aggregation selector which returns the givenaggregation
for the giveninstrumentType
, and defers to this for other instrument types. -
Uses of Aggregation in io.opentelemetry.sdk.metrics.internal.aggregator
Fields in io.opentelemetry.sdk.metrics.internal.aggregator with type parameters of type AggregationModifier and TypeFieldDescriptionprivate static final Map
<String, Aggregation> AggregationUtil.aggregationByName
private static final Map
<Class<? extends Aggregation>, String> AggregationUtil.nameByAggregation
Methods in io.opentelemetry.sdk.metrics.internal.aggregator that return AggregationModifier and TypeMethodDescriptionstatic Aggregation
Return the aggregation for the human-readablename
.Methods in io.opentelemetry.sdk.metrics.internal.aggregator with parameters of type AggregationModifier and TypeMethodDescriptionstatic String
AggregationUtil.aggregationName
(Aggregation aggregation) Return the human-readable name of theaggregation
. -
Uses of Aggregation in io.opentelemetry.sdk.metrics.internal.view
Classes in io.opentelemetry.sdk.metrics.internal.view that implement AggregationModifier and TypeClassDescriptionfinal class
Exponential bucket histogram aggregation configuration.final class
Aggregation that selects the specified default based on instrument.final class
Configuration representing no aggregation.final class
Explicit bucket histogram aggregation configuration.final class
Last-value aggregation configuration.final class
A sum aggregation configuration.Fields in io.opentelemetry.sdk.metrics.internal.view declared as AggregationModifier and TypeFieldDescriptionprivate static final Aggregation
Base2ExponentialHistogramAggregation.DEFAULT
private static final Aggregation
ExplicitBucketHistogramAggregation.DEFAULT
private static final Aggregation
DefaultAggregation.INSTANCE
private static final Aggregation
DropAggregation.INSTANCE
private static final Aggregation
LastValueAggregation.INSTANCE
Methods in io.opentelemetry.sdk.metrics.internal.view that return AggregationModifier and TypeMethodDescriptionstatic Aggregation
Base2ExponentialHistogramAggregation.create
(int maxBuckets, int maxScale) Aggregations measurements into anMetricDataType.EXPONENTIAL_HISTOGRAM
.static Aggregation
static Aggregation
Base2ExponentialHistogramAggregation.getDefault()
static Aggregation
ExplicitBucketHistogramAggregation.getDefault()
static Aggregation
DefaultAggregation.getInstance()
static Aggregation
DropAggregation.getInstance()
static Aggregation
LastValueAggregation.getInstance()
static Aggregation
SumAggregation.getInstance()
private static Aggregation
DefaultAggregation.resolve
(InstrumentDescriptor instrument, boolean withAdvice)