Class: Vmpooler::Metrics::DummyStatsd

Inherits:
Vmpooler::Metrics show all
Defined in:
lib/vmpooler/metrics/dummy_statsd.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Vmpooler::Metrics

init

Instance Attribute Details

#portObject (readonly)

Returns the value of attribute port.



6
7
8
# File 'lib/vmpooler/metrics/dummy_statsd.rb', line 6

def port
  @port
end

#prefixObject (readonly)

Returns the value of attribute prefix.



6
7
8
# File 'lib/vmpooler/metrics/dummy_statsd.rb', line 6

def prefix
  @prefix
end

#serverObject (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

#gaugeObject



12
13
14
# File 'lib/vmpooler/metrics/dummy_statsd.rb', line 12

def gauge(*)
  true
end

#incrementObject



8
9
10
# File 'lib/vmpooler/metrics/dummy_statsd.rb', line 8

def increment(*)
  true
end

#timingObject



16
17
18
# File 'lib/vmpooler/metrics/dummy_statsd.rb', line 16

def timing(*)
  true
end