Sha256: d7aa7cfbcfe089bf3cc821b06f77eb7efc8bdf0d91a4878bc9c045c0548dd2cd

Contents?: true

Size: 177 Bytes

Versions: 1

Compression:

Stored size: 177 Bytes

Contents

require "statsd"

module GovukMirrorer
  def self.statsd
    host = "localhost" || ENV["STATSD_HOST"]
    port = 8125 || ENV["STATSD_PORT"]
    Statsd.new(host, port)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
govuk_mirrorer-1.3.2 lib/govuk_mirrorer/statsd.rb