Class ExponentialBuckets (0.1.0)

ExponentialBuckets(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describing buckets with exponentially growing width.

Attributes

NameDescription
num_finite_buckets int
The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is num_finite_buckets + 2. See comments on bucket_options for details.
growth_factor float
The i'th exponential bucket covers the interval [scale \* growth_factor^(i-1), scale \* growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be larger than 1.0.
scale float
The i'th exponential bucket covers the interval [scale \* growth_factor^(i-1), scale \* growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be > 0.