Sha256: 19afc15869a56981dc14ba318d45a4c4ae8c6f95a0c481ada2b9034d3d9befac
Contents?: true
Size: 297 Bytes
Versions: 1
Compression:
Stored size: 297 Bytes
Contents
require "statsd" module GovukStatsd def self.increment(*args) client.increment(*args) end def self.client @statsd_client ||= begin statsd_client = ::Statsd.new("localhost") statsd_client.namespace = ENV["GOVUK_STATSD_PREFIX"].to_s statsd_client end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
govuk_app_config-0.2.0 | lib/govuk_app_config/govuk_statsd.rb |