Open bf4 opened 10 years ago
Comment by JangoSteve
Sunday Aug 04, 2013 at 00:42 GMT
I had the same issue when I was trying to send a custom :_timestamp
value to a widget. Turns out I was sending the value of Time.now
instead of Time.now.to_i
(which Fnordmetric apparently expects). Rather than giving me an error though, it simply wasn't logging the events. This was pretty frustrating and took much longer to debug than it should have.
I've tried to add numbers widget to simple gauge, but it always showed zeroes. Finally I've found out that my gauge was three_dimensional. As soon as i've changed it to simple gauge and flushed redis db, numbers widget started showing correct data. Such behavior is not described in documentation and I don't know if it is bug in numbers widget or documenation flaw, but if it is proper behavior, widget should raise error if it receives incorrect type of gauge and not silently ignore it.