Cloud Logging V2 API - Class Google::Api::Distribution::BucketOptions::Exponential (v0.8.1)

Reference documentation and code samples for the Cloud Logging V2 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
Returns
  • (::Float) — Must be greater than 1.

#growth_factor=

def growth_factor=(value) -> ::Float
Parameter
  • value (::Float) — Must be greater than 1.
Returns
  • (::Float) — Must be greater than 1.

#num_finite_buckets

def num_finite_buckets() -> ::Integer
Returns
  • (::Integer) — Must be greater than 0.

#num_finite_buckets=

def num_finite_buckets=(value) -> ::Integer
Parameter
  • value (::Integer) — Must be greater than 0.
Returns
  • (::Integer) — Must be greater than 0.

#scale

def scale() -> ::Float
Returns
  • (::Float) — Must be greater than 0.

#scale=

def scale=(value) -> ::Float
Parameter
  • value (::Float) — Must be greater than 0.
Returns
  • (::Float) — Must be greater than 0.