Class: Datadog::Statsd::UDSConnection

Inherits:
Connection
  • Object
show all
Defined in:
lib/datadog/statsd.rb

Defined Under Namespace

Classes: BadSocketError

Constant Summary

Constants inherited from Connection

Connection::DEFAULT_HOST, Connection::DEFAULT_PORT

Instance Attribute Summary

Attributes inherited from Connection

#host, #port, #socket_path

Instance Method Summary collapse

Methods inherited from Connection

#close, #write

Constructor Details

#initialize(socket_path, logger) ⇒ UDSConnection

Returns a new instance of UDSConnection.



92
93
94
95
# File 'lib/datadog/statsd.rb', line 92

def initialize(socket_path, logger)
  @socket_path = socket_path
  @logger = logger
end