Class: OpenCensus::Stats::Aggregation::Distribution
- Inherits:
-
Object
- Object
- OpenCensus::Stats::Aggregation::Distribution
- Defined in:
- lib/opencensus/stats/aggregation/distribution.rb
Overview
Distribution aggregation type
Defined Under Namespace
Classes: InvalidBucketsError
Instance Attribute Summary collapse
-
#buckets ⇒ Array<Integer>, Array<Float>
readonly
Bucket boundries.
Instance Method Summary collapse
-
#create_aggregation_data ⇒ AggregationData::Distribution
Create new aggregation data container to store distribution values.
Instance Attribute Details
#buckets ⇒ Array<Integer>, Array<Float> (readonly)
Returns Bucket boundries.
13 14 15 |
# File 'lib/opencensus/stats/aggregation/distribution.rb', line 13 def buckets @buckets end |
Instance Method Details
#create_aggregation_data ⇒ AggregationData::Distribution
Create new aggregation data container to store distribution values. values.
35 36 37 |
# File 'lib/opencensus/stats/aggregation/distribution.rb', line 35 def create_aggregation_data AggregationData::Distribution.new @buckets end |