Module: Praxis::Stats

Includes:
PluginConcern
Defined in:
lib/praxis/stats.rb

Defined Under Namespace

Classes: Plugin, Statsd

Class Method Summary collapse

Class Method Details

.collectorObject



74
75
76
# File 'lib/praxis/stats.rb', line 74

def self.collector
  Harness.collector
end

.configObject



78
79
80
# File 'lib/praxis/stats.rb', line 78

def self.config
  Harness.config
end

.count(*args) ⇒ Object



86
87
88
# File 'lib/praxis/stats.rb', line 86

def self.count(*args)
  Harness.count(*args)
end

.decrement(*args) ⇒ Object



90
91
92
# File 'lib/praxis/stats.rb', line 90

def self.decrement(*args)
  Harness.decrement(*args)
end

.gauge(*args) ⇒ Object



94
95
96
# File 'lib/praxis/stats.rb', line 94

def self.gauge(*args)
  Harness.gauge(*args)
end

.increment(*args) ⇒ Object



98
99
100
# File 'lib/praxis/stats.rb', line 98

def self.increment(*args)
  Harness.increment(*args)
end

.queueObject



82
83
84
# File 'lib/praxis/stats.rb', line 82

def self.queue
  Harness.queue
end

.time(stat, sample_rate = 1, &block) ⇒ Object



102
103
104
# File 'lib/praxis/stats.rb', line 102

def self.time(stat, sample_rate = 1, &block)
  Harness.time(stat, sample_rate, &block)
end

.timing(*args) ⇒ Object



106
107
108
# File 'lib/praxis/stats.rb', line 106

def self.timing(*args)
  Harness.timing(*args)
end