Skip to content

Instantly share code, notes, and snippets.

@iromli
Created February 21, 2013 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iromli/5004420 to your computer and use it in GitHub Desktop.
Save iromli/5004420 to your computer and use it in GitHub Desktop.
require "rubygems"
require "bundler/setup"
require "fnordmetric"
FnordMetric.options = {
:redis_url => 'redis://:s3cr3t@127.0.0.1:6379/10'
}
FnordMetric.namespace :myapp do
# render a timeseries graph
widget 'Sales',
:title => "Sales per Minute",
:gauges => [:sales_per_minute],
:type => :timeline,
:width => 100,
:autoupdate => 1
end
FnordMetric.standalone
@iromli
Copy link
Author

iromli commented Feb 21, 2013

Sinatra gives me the error message:

Redis::CommandError at /myapp
ERR operation not permitted

@masone
Copy link

masone commented Feb 27, 2013

Same here. Have you been able to get fnord working with authentication?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment