class HostedGraphite::STATSD
Constants
- HOST
- PORT
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/hosted_graphite/protocols/statsd.rb, line 12 def initialize raise MissingAPIKey unless HostedGraphite.api_key super(HOST, PORT) if HostedGraphite.namespace self.namespace = [HostedGraphite.api_key,HostedGraphite.namespace].join('.') else self.namespace = HostedGraphite.api_key end end