-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
riemann-dash 0.1.1 gem: start_chart: no method nan? for fixnum #2
Comments
Fixnums couldn't appear there until recently. The newest version of riemann-ruby-client added support. I'm pretty close to obsoleting that whole ruby dash in favor of the realtime js dashboard; you might give /ws a try. ianrumford notifications@github.com wrote:
|
Would be interested to see / try the realtime dash when your're ready. Realtime is where I want to be eventually. |
Check out master from riemann-dash and go to localhost:4567/ws :) ianrumford notifications@github.com wrote:
|
Closing with the move to the new dash |
Using the 0.1.1 riemann-dash gem
riemann/dash/helper/renderer.rb method state_chart has the following line:
if s.metric && !(s.metric.nan?)
I do not understand why but this can generate a no method exception nan? for fixnum.
A simple workaround is e.g.
if s.metric && !(s.metric.nan? rescue true)
but this just conceals the underlying problem.
The text was updated successfully, but these errors were encountered: