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
58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/multimeter.rb', line 58 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
54 55 56 |
# File 'lib/multimeter.rb', line 54 def type :histogram end |