Class: Yammer::Metrics::Histogram
- Inherits:
-
Object
- Object
- Yammer::Metrics::Histogram
- Defined in:
- lib/multimeter.rb
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/multimeter.rb', line 55 def to_h { :type => :histogram, :count => count, :max => max, :min => min, :mean => mean, :std_dev => std_dev, :sum => sum }.merge(snapshot.to_h) end |
#type ⇒ Object
51 52 53 |
# File 'lib/multimeter.rb', line 51 def type :histogram end |