Class AggregationModel
java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.AggregationModel
@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator")
public class AggregationModel
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanConfigures the stream to collect data for the exponential histogram metric point, which uses a base-2 exponential formula to determine bucket boundaries and an integer scale parameter to control resolution.Configures the stream to use the instrument kind to select an aggregation and advisory parameters to influence aggregation configuration parameters.getDrop()Configures the stream to ignore/drop all instrument measurements.Configures the stream to collect data for the histogram metric point using a set of explicit boundary values for histogram bucketing.Configures the stream to collect data using the last measurement.getSum()Configures the stream to collect the arithmetic sum of measurement values.inthashCode()toString()withBase2ExponentialBucketHistogram(Base2ExponentialBucketHistogramAggregationModel base2ExponentialBucketHistogram) withDefault(DefaultAggregationModel _default) withDrop(DropAggregationModel drop) withExplicitBucketHistogram(ExplicitBucketHistogramAggregationModel explicitBucketHistogram) withLastValue(LastValueAggregationModel lastValue)
-
Constructor Details
-
AggregationModel
public AggregationModel()
-
-
Method Details
-
getDefault
Configures the stream to use the instrument kind to select an aggregation and advisory parameters to influence aggregation configuration parameters. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#default-aggregation for details.If omitted, ignore.
-
withDefault
-
getDrop
Configures the stream to ignore/drop all instrument measurements. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#drop-aggregation for details.If omitted, ignore.
-
withDrop
-
getExplicitBucketHistogram
Configures the stream to collect data for the histogram metric point using a set of explicit boundary values for histogram bucketing. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#explicit-bucket-histogram-aggregation for detailsIf omitted, ignore.
-
withExplicitBucketHistogram
public AggregationModel withExplicitBucketHistogram(ExplicitBucketHistogramAggregationModel explicitBucketHistogram) -
getBase2ExponentialBucketHistogram
@Nullable public Base2ExponentialBucketHistogramAggregationModel getBase2ExponentialBucketHistogram()Configures the stream to collect data for the exponential histogram metric point, which uses a base-2 exponential formula to determine bucket boundaries and an integer scale parameter to control resolution. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#base2-exponential-bucket-histogram-aggregation for details.If omitted, ignore.
-
withBase2ExponentialBucketHistogram
public AggregationModel withBase2ExponentialBucketHistogram(Base2ExponentialBucketHistogramAggregationModel base2ExponentialBucketHistogram) -
getLastValue
Configures the stream to collect data using the last measurement. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#last-value-aggregation for details.If omitted, ignore.
-
withLastValue
-
getSum
Configures the stream to collect the arithmetic sum of measurement values. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#sum-aggregation for details.If omitted, ignore.
-
withSum
-
toString
-
hashCode
public int hashCode() -
equals
-