Uses of Interface
io.opentelemetry.sdk.metrics.Aggregation
-
Packages that use Aggregation Package Description io.opentelemetry.exporter.otlp.http.metrics OpenTelemetry exporter which sends metric data to OpenTelemetry collector via OTLP HTTP.io.opentelemetry.exporter.otlp.metrics OpenTelemetry exporter which sends metric data to OpenTelemetry collector via OTLP gRPC.io.opentelemetry.sdk.metrics The SDK implementation of metrics.io.opentelemetry.sdk.metrics.export Utilities that facilitate exporting metrics out ofSdkMeterProvider
.io.opentelemetry.sdk.metrics.internal.aggregator Metric aggregators.io.opentelemetry.sdk.metrics.internal.view View related internal classes. -
-
Uses of Aggregation in io.opentelemetry.exporter.otlp.http.metrics
Methods in io.opentelemetry.exporter.otlp.http.metrics that return Aggregation Modifier and Type Method Description Aggregation
OtlpHttpMetricExporter. getDefaultAggregation(InstrumentType instrumentType)
-
Uses of Aggregation in io.opentelemetry.exporter.otlp.metrics
Methods in io.opentelemetry.exporter.otlp.metrics that return Aggregation Modifier and Type Method Description Aggregation
OtlpGrpcMetricExporter. getDefaultAggregation(InstrumentType instrumentType)
-
Uses of Aggregation in io.opentelemetry.sdk.metrics
Fields in io.opentelemetry.sdk.metrics declared as Aggregation Modifier and Type Field Description private Aggregation
AutoValue_View. aggregation
private Aggregation
ViewBuilder. aggregation
Methods in io.opentelemetry.sdk.metrics that return Aggregation Modifier and Type Method Description static 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(java.util.List<java.lang.Double> bucketBoundaries)
Aggregates measurements into an explicit bucketMetricDataType.HISTOGRAM
.Aggregation
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 Aggregation Modifier and Type Method Description (package private) static View
View. create(java.lang.String name, java.lang.String description, Aggregation aggregation, AttributesProcessor attributesProcessor, int cardinalityLimit)
ViewBuilder
ViewBuilder. setAggregation(Aggregation aggregation)
SetsAggregation
.Constructors in io.opentelemetry.sdk.metrics with parameters of type Aggregation Constructor Description AutoValue_View(java.lang.String name, java.lang.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 Aggregation Modifier and Type Method Description Aggregation
DefaultAggregationSelector. 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
.Aggregation
PeriodicMetricReader. getDefaultAggregation(InstrumentType instrumentType)
Methods in io.opentelemetry.sdk.metrics.export with parameters of type Aggregation Modifier and Type Method Description default 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 Aggregation Modifier and Type Field Description private static java.util.Map<java.lang.String,Aggregation>
AggregationUtil. aggregationByName
private static java.util.Map<java.lang.Class<? extends Aggregation>,java.lang.String>
AggregationUtil. nameByAggregation
Methods in io.opentelemetry.sdk.metrics.internal.aggregator that return Aggregation Modifier and Type Method Description static Aggregation
AggregationUtil. forName(java.lang.String name)
Return the aggregation for the human-readablename
.Methods in io.opentelemetry.sdk.metrics.internal.aggregator with parameters of type Aggregation Modifier and Type Method Description static java.lang.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 Aggregation Modifier and Type Class Description class
Base2ExponentialHistogramAggregation
Exponential bucket histogram aggregation configuration.class
DefaultAggregation
Aggregation that selects the specified default based on instrument.class
DropAggregation
Configuration representing no aggregation.class
ExplicitBucketHistogramAggregation
Explicit bucket histogram aggregation configuration.class
LastValueAggregation
Last-value aggregation configuration.class
SumAggregation
A sum aggregation configuration.Fields in io.opentelemetry.sdk.metrics.internal.view declared as Aggregation Modifier and Type Field Description private static Aggregation
Base2ExponentialHistogramAggregation. DEFAULT
private static Aggregation
ExplicitBucketHistogramAggregation. DEFAULT
private static Aggregation
DefaultAggregation. INSTANCE
private static Aggregation
DropAggregation. INSTANCE
private static Aggregation
LastValueAggregation. INSTANCE
Methods in io.opentelemetry.sdk.metrics.internal.view that return Aggregation Modifier and Type Method Description static Aggregation
Base2ExponentialHistogramAggregation. create(int maxBuckets, int maxScale)
Aggregations measurements into anMetricDataType.EXPONENTIAL_HISTOGRAM
.static Aggregation
ExplicitBucketHistogramAggregation. create(java.util.List<java.lang.Double> bucketBoundaries)
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)
-