Class: Yabeda::Histogram
Instance Attribute Summary collapse
-
#buckets ⇒ Object
readonly
Reader method for the
bucketsinitializer parameter.
Attributes inherited from Metric
#comment, #group, #name, #per, #unit
Instance Method Summary collapse
Methods inherited from Metric
Constructor Details
#initialize(name, **options) ⇒ Object
Instance Attribute Details
#buckets ⇒ Object (readonly)
Reader method for the buckets initializer parameter.
5 |
# File 'lib/yabeda/histogram.rb', line 5 option :buckets |
Instance Method Details
#measure(tags, value) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/yabeda/histogram.rb', line 7 def measure(, value) values[] = value ::Yabeda.adapters.each do |_, adapter| adapter.perform_histogram_measure!(self, , value) end value end |