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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/api/distribution.rb

Overview

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)).

Instance Attribute Summary collapse

Instance Attribute Details

#growth_factor::Float

Returns Must be greater than 1.

Returns:

  • (::Float)

    Must be greater than 1.



171
172
173
174
# File 'proto_docs/google/api/distribution.rb', line 171

class Exponential
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#num_finite_buckets::Integer

Returns Must be greater than 0.

Returns:

  • (::Integer)

    Must be greater than 0.



171
172
173
174
# File 'proto_docs/google/api/distribution.rb', line 171

class Exponential
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#scale::Float

Returns Must be greater than 0.

Returns:

  • (::Float)

    Must be greater than 0.



171
172
173
174
# File 'proto_docs/google/api/distribution.rb', line 171

class Exponential
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end