Metriks::Derive
Metriks::Derive is a derivative metric for the Metriks gem.
A derivative metric is like a meter but accepts an absolute counter as input. This is useful for metrics like bytes sent over the network or cpu cycles which are generally monotonically increasing counters and therefore need to be derived from the previous sample to get a useful rate/s value.
Installation
Add this line to your application's Gemfile:
gem 'metriks-derive'
And then execute:
$ bundle
Or install it yourself as:
$ gem install metriks-derive