Class: Vmpooler::Metrics::DummyStatsd
- Inherits:
-
Vmpooler::Metrics
- Object
- Vmpooler::Metrics
- Vmpooler::Metrics::DummyStatsd
- Defined in:
- lib/vmpooler/metrics/dummy_statsd.rb
Instance Attribute Summary collapse
-
#port ⇒ Object
readonly
Returns the value of attribute port.
-
#prefix ⇒ Object
readonly
Returns the value of attribute prefix.
-
#server ⇒ Object
readonly
Returns the value of attribute server.
Instance Method Summary collapse
- #gauge ⇒ Object
- #increment ⇒ Object
-
#initialize ⇒ DummyStatsd
constructor
A new instance of DummyStatsd.
- #timing ⇒ Object
Methods inherited from Vmpooler::Metrics
Constructor Details
#initialize ⇒ DummyStatsd
Returns a new instance of DummyStatsd.
8 9 |
# File 'lib/vmpooler/metrics/dummy_statsd.rb', line 8 def initialize(*) end |
Instance Attribute Details
#port ⇒ Object (readonly)
Returns the value of attribute port.
6 7 8 |
# File 'lib/vmpooler/metrics/dummy_statsd.rb', line 6 def port @port end |
#prefix ⇒ Object (readonly)
Returns the value of attribute prefix.
6 7 8 |
# File 'lib/vmpooler/metrics/dummy_statsd.rb', line 6 def prefix @prefix end |
#server ⇒ Object (readonly)
Returns the value of attribute server.
6 7 8 |
# File 'lib/vmpooler/metrics/dummy_statsd.rb', line 6 def server @server end |
Instance Method Details
#gauge ⇒ Object
15 16 17 |
# File 'lib/vmpooler/metrics/dummy_statsd.rb', line 15 def gauge(*) true end |
#increment ⇒ Object
11 12 13 |
# File 'lib/vmpooler/metrics/dummy_statsd.rb', line 11 def increment(*) true end |
#timing ⇒ Object
19 20 21 |
# File 'lib/vmpooler/metrics/dummy_statsd.rb', line 19 def timing(*) true end |