The simple example in the README raises this exception: undefined method map for nil:NilClass (NoMethodError)
undefined method map for nil:NilClass (NoMethodError)
The problem seems to be that a :series option is not given to the timeseries_gauge. Here is a working version (taken from doc/minimal_example.rb).
FnordMetric.namespace :simple do
:tick => 30.seconds,
:calculate => :average,
:series => [:num_unicorns]
event :unicorn_seen do
incr :unicorns_seen, :num_unicorns, rand(5)
Why is this still not updated in the Readme? Just ran into this issue :-/
this can be closed as the referenced pull request was merged in.
Thanks, closed! :)