Class: ThreeScale::Backend::Statsd

Inherits:
Object
  • Object
show all
Includes:
Configurable
Defined in:
lib/3scale/backend/statsd.rb

Class Method Summary collapse

Methods included from Configurable

#configuration, #configuration=, included

Class Method Details

.instanceObject



7
8
9
10
# File 'lib/3scale/backend/statsd.rb', line 7

def instance
  @instance ||= ::Statsd.new(configuration.statsd.host,
                             configuration.statsd.port)
end