Class: Yammer::Metrics::Snapshot
- Inherits:
-
Object
- Object
- Yammer::Metrics::Snapshot
- Defined in:
- lib/multimeter.rb
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/multimeter.rb', line 114 def to_h { :median => median, :percentiles => { '75' => get75thPercentile, '95' => get95thPercentile, '98' => get98thPercentile, '99' => get99thPercentile, '99.9' => get999thPercentile } } end |