MetricBucketOptions constructor

const MetricBucketOptions({
  1. Input<MetricBucketOptionsExplicitBuckets?>? explicitBuckets,
  2. Input<MetricBucketOptionsExponentialBuckets?>? exponentialBuckets,
  3. Input<MetricBucketOptionsLinearBuckets?>? linearBuckets,
})

Creates a new MetricBucketOptions. explicitBuckets Specifies a set of buckets with arbitrary widths. exponentialBuckets Specifies an exponential sequence of buckets that have a width that is proportional to the value of linearBuckets Specifies a linear sequence of buckets that all have the same width (except overflow and underflow).

Implementation

const MetricBucketOptions({
  this.explicitBuckets,
  this.exponentialBuckets,
  this.linearBuckets,
});