metrics output should allow backfill
Description
Gliffy Diagrams
Activity
Show:
Jordan Sissel January 3, 2013 at 8:41 AM
Reviewed the Metriks library used underneath, it uses Time.new only in a few places:
For example
https://github.com/eric/metriks/blob/master/lib/metriks/meter.rb#L36
https://github.com/eric/metriks/blob/master/lib/metriks/meter.rb#L11
It should be pretty straight-forward to fork this library and make it accept a timestamp at each mark/update instead of using the current system time.
Fixed
Details
Details
Assignee

Reporter

Affects versions
Created December 10, 2012 at 9:45 PM
Updated February 6, 2015 at 8:10 PM
Resolved February 6, 2015 at 8:10 PM
The metrics {} output should probably allow backfilling on logs based upon timestamp from the log for eventual loading into tools like Graphite. In this way users won't have to manually connect to Carbon or similar tools in an attempt to reload their metrics, simply point logstash's configuration at the old logs.