lib/fnordmetric/gauge_calculations.rb in fnordmetric-0.9.7 vs lib/fnordmetric/gauge_calculations.rb in fnordmetric-1.0.0
- old
+ new
@@ -61,10 +61,10 @@
end
def field_values_at(time, opts={}, &block)
opts[:max_fields] ||= 50
field_values = sync_redis.zrevrange(
- tick_key(time),
+ tick_key(time, opts[:append]),
0, opts[:max_fields]-1,
:withscores => true
)
unless field_values.first.is_a?(Array)