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
117 118 119 120 121 122 123 124 125 126 127 128 |
# File 'lib/multimeter.rb', line 117 def to_h { :median => median, :percentiles => { '75' => get75thPercentile, '95' => get95thPercentile, '98' => get98thPercentile, '99' => get99thPercentile, '99.9' => get999thPercentile } } end |