Class: Px::Service::Client::NullStatsdClient
- Inherits:
-
Object
- Object
- Px::Service::Client::NullStatsdClient
- Defined in:
- lib/px/service/client/null_statsd_client.rb
Overview
Does nothing, gracefully
Instance Method Summary collapse
- #batch(*args) {|_self| ... } ⇒ Object
- #count(*args) ⇒ Object
- #gauge(*args) ⇒ Object
- #histogram(*args) ⇒ Object
- #increment(*args) ⇒ Object
- #set(*args) ⇒ Object
- #time(*args) ⇒ Object
- #timing(*args) ⇒ Object
Instance Method Details
#batch(*args) {|_self| ... } ⇒ Object
26 27 28 |
# File 'lib/px/service/client/null_statsd_client.rb', line 26 def batch(*args) yield(self) if block_given? end |
#count(*args) ⇒ Object
23 24 |
# File 'lib/px/service/client/null_statsd_client.rb', line 23 def count(*args) end |
#gauge(*args) ⇒ Object
7 8 |
# File 'lib/px/service/client/null_statsd_client.rb', line 7 def gauge(*args) end |
#histogram(*args) ⇒ Object
10 11 |
# File 'lib/px/service/client/null_statsd_client.rb', line 10 def histogram(*args) end |
#increment(*args) ⇒ Object
4 5 |
# File 'lib/px/service/client/null_statsd_client.rb', line 4 def increment(*args) end |
#set(*args) ⇒ Object
20 21 |
# File 'lib/px/service/client/null_statsd_client.rb', line 20 def set(*args) end |
#time(*args) ⇒ Object
13 14 15 |
# File 'lib/px/service/client/null_statsd_client.rb', line 13 def time(*args) yield if block_given? end |
#timing(*args) ⇒ Object
17 18 |
# File 'lib/px/service/client/null_statsd_client.rb', line 17 def timing(*args) end |