Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
Merge pull request #16 from ahale/srt
Browse files Browse the repository at this point in the history
add srt to prefix_account metric set
  • Loading branch information
Florian Hines committed Jun 12, 2015
2 parents 51ecf5e + ccc3e1a commit ef68d61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion informant/__init__.py
Expand Up @@ -2,7 +2,7 @@


#: Version information (major, minor, revision[, 'dev']).
version_info = (1, 1, 0)
version_info = (1, 1, 1)
#: Version string 'major.minor.revision'.
version = __version__ = ".".join(map(str, version_info))
gettext.install('informant')
4 changes: 4 additions & 0 deletions informant/middleware.py
Expand Up @@ -157,6 +157,10 @@ def statsd_event(self, env, req):
(self.prefix_accounts_metric_prepend,
acct, stat_type, duration,
self.statsd_sample_rate))
metrics.append("%s%s.srt.%s:%d|ms|@%s" %
(self.prefix_accounts_metric_prepend,
acct, name, start_response_time,
self.statsd_sample_rate))
self._send_events(metrics, self.combined_events)
except Exception:
try:
Expand Down

0 comments on commit ef68d61

Please sign in to comment.