gemhome / fnordmetric

(possible new home for) FnordMetric is a redis/ruby-based realtime Event-Tracking app
0 stars 1 forks source link

Toplists, Pies, etc - only show a subset of a gauge #12

Open bf4 opened 10 years ago

bf4 commented 10 years ago

Issue by imajes Tuesday Jan 31, 2012 at 19:40 GMT Originally opened as https://github.com/paulasmuth/fnordmetric/issues/54


Hey,

i want to enable support for certain gauges that are prone to collect a lot of data, but really i only want the top ten or so, and then an 'others' roll up group.

I'm happy to hack this in, but i'd like some pointers as to the best place to do it. It seems that the pie_widget.rb in lib/fonordmetric is a good place to start, as it's a presenter for the data... but i am concerned about what the JS is trying to do there.

thoughts?