Reference documentation and code samples for the Service Control API V1 API class Google::Api::Distribution::BucketOptions::Exponential.
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.
There are num_finite_buckets + 2
(= N) buckets. Bucket i
has the
following boundaries:
Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).
Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#growth_factor
def growth_factor() -> ::Float
- (::Float) — Must be greater than 1.
#growth_factor=
def growth_factor=(value) -> ::Float
- value (::Float) — Must be greater than 1.
- (::Float) — Must be greater than 1.
#num_finite_buckets
def num_finite_buckets() -> ::Integer
- (::Integer) — Must be greater than 0.
#num_finite_buckets=
def num_finite_buckets=(value) -> ::Integer
- value (::Integer) — Must be greater than 0.
- (::Integer) — Must be greater than 0.
#scale
def scale() -> ::Float
- (::Float) — Must be greater than 0.
#scale=
def scale=(value) -> ::Float
- value (::Float) — Must be greater than 0.
- (::Float) — Must be greater than 0.