Commit 11ef8303 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

Merge pull request #113 from mcfiredrill/fix-readme

add the :series option to the example in the readme so it works
parents 96d3b2e6 a0a0ad5e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -26,7 +26,8 @@ FnordMetric.namespace :myapp do
  timeseries_gauge :unicorns_seen_per_hour, 
    :resolution => 5.minutes,
    :title => "Unicorns seenper Hour",
    :punchcard => true
    :punchcard => true,
    :series => [:num_unicorns]

  # on every event like { _type: 'unicorn_seen' }
  event(:unicorn_seen) do