thenayr / dashing-newrelic

Open source New Relic widgets for the Dashing framework
MIT License
31 stars 5 forks source link

threshold_values error #12

Closed pacey closed 7 years ago

pacey commented 9 years ago

Hi,

When I start up my dashboard I get the following error:

scheduler caught exception:
undefined method `threshold_values' for nil:NilClass
/Users/jamesp/Sandboxes/frodin-dashboard/lib/newrelic.rb:26:in `get_value'================================================================================
scheduler caught exception:
undefined method `threshold_values' for nil:NilClass
/Users/jamesp/Sandboxes/frodin-dashboard/lib/newrelic.rb:26:in `get_value'
/Users/jamesp/Sandboxes/frodin-dashboard/jobs/newrelic_error.rb:9:in `block in <top (required)>'

/Users/jamesp/Sandboxes/frodin-dashboard/jobs/newrelic_apdex.rb:9:in `block in <top (required)>'/Users/jamesp/.rvm/gems/ruby-1.9.3-p551/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in `call'
warrenguy commented 9 years ago

Most likely your app_name is not correctly configured.