Module: PulseMeter

Defined in:
lib/pulse-meter/sensor.rb,
lib/pulse-meter.rb,
lib/pulse-meter/version.rb,
lib/pulse-meter/sensor/base.rb,
lib/pulse-meter/mixins/utils.rb,
lib/pulse-meter/mixins/dumper.rb,
lib/pulse-meter/sensor/counter.rb,
lib/pulse-meter/sensor/timeline.rb,
lib/pulse-meter/sensor/indicator.rb,
lib/pulse-meter/sensor/uniq_counter.rb,
lib/pulse-meter/sensor/configuration.rb,
lib/pulse-meter/sensor/timelined/max.rb,
lib/pulse-meter/sensor/timelined/min.rb,
lib/pulse-meter/sensor/hashed_counter.rb,
lib/pulse-meter/sensor/timelined/median.rb,
lib/pulse-meter/sensor/timelined/average.rb,
lib/pulse-meter/sensor/timelined/counter.rb,
lib/pulse-meter/sensor/timelined/percentile.rb,
lib/pulse-meter/sensor/timelined/uniq_counter.rb,
lib/pulse-meter/sensor/timelined/hashed_counter.rb

Overview

Static hashed counter to count values by multiple keys

Defined Under Namespace

Modules: Mixins, Sensor Classes: BadSensorName, DumpConflictError, DumpError, RedisNotInitialized, RestoreError, SensorData, SensorError

Constant Summary collapse

VERSION =
"0.1.4"
@@redis =
nil

Class Method Summary collapse

Class Method Details

.redisObject



11
12
13
# File 'lib/pulse-meter.rb', line 11

def self.redis
  @@redis 
end

.redis=(redis) ⇒ Object



15
16
17
# File 'lib/pulse-meter.rb', line 15

def self.redis=(redis)
  @@redis = redis
end