Sha256: 36f0db99773455fdf48b6255af1fbb9750c102e93e2fd6f3132da5402c0fa0fe
Contents?: true
Size: 411 Bytes
Versions: 18
Compression:
Stored size: 411 Bytes
Contents
module PulseMeter module Sensor module Timelined # Counts unique events per interval class UniqCounter < Timeline def aggregate_event(key, value) command_aggregator.sadd(key, value) end def summarize(key) redis.scard(key) end private def deflate(value) value.to_i end end end end end
Version data entries
18 entries across 18 versions & 2 rubygems