Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #296 from alphagov/add-statsd-prefix
Browse files Browse the repository at this point in the history
Add a prefix to the statsd key
  • Loading branch information
tombooth committed May 19, 2014
2 parents 5cc99e3 + e679b7d commit f0c1cae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backdrop/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ def func(stat, *args, **kwargs):
return getattr(self._statsd, item)

statsd = StatsClient(
_statsd.StatsClient(prefix=os.getenv("GOVUK_STATSD_PREFIX")))
_statsd.StatsClient(prefix=os.getenv(
"GOVUK_STATSD_PREFIX", "pp.apps.backdrop")))

0 comments on commit f0c1cae

Please sign in to comment.