java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.AggregationModel

@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator") public class AggregationModel extends Object
  • Constructor Details

    • AggregationModel

      public AggregationModel()
  • Method Details

    • getDefault

      @Nullable public DefaultAggregationModel 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

      public AggregationModel withDefault(DefaultAggregationModel _default)
    • getDrop

      @Nullable public DropAggregationModel 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

      public AggregationModel withDrop(DropAggregationModel drop)
    • getExplicitBucketHistogram

      @Nullable public ExplicitBucketHistogramAggregationModel 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 details

      If 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

      @Nullable public LastValueAggregationModel 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

      public AggregationModel withLastValue(LastValueAggregationModel lastValue)
    • getSum

      @Nullable public SumAggregationModel 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

      public AggregationModel withSum(SumAggregationModel sum)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object