class SemanticLogger::Metric::Statsd
def reopen
def reopen uri = URI.parse(@url) raise('Statsd only supports udp. Example: "udp://localhost:8125"') if uri.scheme != "udp" @statsd = ::Statsd.new(uri.host, uri.port) path = uri.path.chomp("/") @statsd.namespace = path.sub("/", "") if path != "" end