MetricBucketOptions class
Constructors
-
MetricBucketOptions({Input<
MetricBucketOptionsExplicitBuckets?> ? explicitBuckets, Input<MetricBucketOptionsExponentialBuckets?> ? exponentialBuckets, Input<MetricBucketOptionsLinearBuckets?> ? linearBuckets}) -
Creates a new MetricBucketOptions.
explicitBucketsSpecifies a set of buckets with arbitrary widths.exponentialBucketsSpecifies an exponential sequence of buckets that have a width that is proportional to the value oflinearBucketsSpecifies a linear sequence of buckets that all have the same width (except overflow and underflow).const -
MetricBucketOptions.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
explicitBuckets
→ Input<
MetricBucketOptionsExplicitBuckets?> ? -
Specifies a set of buckets with arbitrary widths.
Structure is documented below.
final
-
exponentialBuckets
→ Input<
MetricBucketOptionsExponentialBuckets?> ? -
Specifies an exponential sequence of buckets that have a width that is proportional to the value of
the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
linearBuckets
→ Input<
MetricBucketOptionsLinearBuckets?> ? -
Specifies a linear sequence of buckets that all have the same width (except overflow and underflow).
Each bucket represents a constant absolute uncertainty on the specific value in the bucket.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited