Class: Google::Cloud::ServiceControl::V1::Distribution::ExponentialBuckets
- Inherits:
-
Object
- Object
- Google::Cloud::ServiceControl::V1::Distribution::ExponentialBuckets
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/servicecontrol/v1/distribution.rb
Overview
Describing buckets with exponentially growing width.
Instance Attribute Summary collapse
-
#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.
-
#num_finite_buckets ⇒ ::Integer
The number of finite buckets.
-
#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.
Instance Attribute Details
#growth_factor ⇒ ::Float
Returns 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.
120 121 122 123 |
# File 'proto_docs/google/api/servicecontrol/v1/distribution.rb', line 120 class ExponentialBuckets include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#num_finite_buckets ⇒ ::Integer
Returns 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.
120 121 122 123 |
# File 'proto_docs/google/api/servicecontrol/v1/distribution.rb', line 120 class ExponentialBuckets include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#scale ⇒ ::Float
Returns 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.
120 121 122 123 |
# File 'proto_docs/google/api/servicecontrol/v1/distribution.rb', line 120 class ExponentialBuckets include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |