Class: Google::Api::Distribution::BucketOptions::Exponential

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/monitoring/v3/doc/google/api/distribution.rb

Overview

Specify a 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.

Defines +num_finite_buckets + 2+ (= N) buckets with these boundaries for bucket i:

Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).

Instance Attribute Summary collapse

Instance Attribute Details

#growth_factorFloat

Returns Must be greater than 1.

Returns:

  • (Float)

    Must be greater than 1.



152
# File 'lib/google/cloud/monitoring/v3/doc/google/api/distribution.rb', line 152

class Exponential; end

#num_finite_bucketsInteger

Returns Must be greater than 0.

Returns:

  • (Integer)

    Must be greater than 0.



152
# File 'lib/google/cloud/monitoring/v3/doc/google/api/distribution.rb', line 152

class Exponential; end

#scaleFloat

Returns Must be greater than 0.

Returns:

  • (Float)

    Must be greater than 0.



152
# File 'lib/google/cloud/monitoring/v3/doc/google/api/distribution.rb', line 152

class Exponential; end