Commit e6fcffd5 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

Merge branch 'v1.0' of github.com:paulasmuth/fnordmetric2 into v1.0

parents 154f3221 029135d7
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -6,12 +6,11 @@ BACKLOG
-------

- password protection
- store per-session-data
- callback on session-flush
- use rack websocket instead of em websocket
- gauge-view: interval selection dropdown 
- report: print number of samples, interval-size on topright via scalaexp-buttonstyle

- distgauge: valuerange-option (dangerous!)
- timeseries-widget: tooltip -> show key noun   
- fix pie widget
- timeseries-gauge: overview series weights
@@ -21,7 +20,6 @@ BACKLOG
- caching
- overview view: gauge list (a'la github graphs landing)
- overview view: num active users, system stats (realtime widget)
- gauge garbage-collection
- split up fnordmetric.namespace block into multiple files
- fix html widget
- fix toplist widget
@@ -107,5 +105,4 @@ CHANGELOG
  > less ram usage / garbage collection / single tick
  > fnordmetric:announce redis pusub event-data instead of event_id
  > config in multiple files
  > per session data / callback on session flush
+3 −2
Original line number Diff line number Diff line
@@ -7,7 +7,8 @@ class FnordMetric::ToplistGauge < FnordMetric::Gauge
    @all_ticks = ticks_in(@interval, tick, 1)

    @all_ticks.each do |_tick|
      field_values_at(_tick, :limit => top_k, :append => :toplist).each do |item, count|
      field_values_at(_tick, :limit => top_k, :append => :toplist).each do |*args|
        item, count = args.flatten[0..1] # what the fnord... ~paul
        @toplist.incr_item(_tick, item, count)
      end
    end