Merge ~cjwatson/launchpad:statsd-implicit-env into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | dcb4e0d4e56b25935379a55894dc5a37dd00ace3 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:statsd-implicit-env |
Merge into: | launchpad:master |
Diff against target: |
264 lines (+39/-63) 9 files modified
lib/lp/buildmaster/manager.py (+3/-6) lib/lp/buildmaster/model/buildfarmjobbehaviour.py (+2/-3) lib/lp/services/job/runner.py (+4/-9) lib/lp/services/statsd/model/statsd_client.py (+10/-7) lib/lp/services/statsd/numbercruncher.py (+5/-12) lib/lp/services/statsd/tests/__init__.py (+6/-3) lib/lp/services/statsd/tests/test_statsd_client.py (+0/-10) lib/lp/services/webapp/publication.py (+4/-8) lib/lp/services/webapp/tests/test_publication.py (+5/-5) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tom Wardill (community) | Approve | ||
Review via email: mp+393792@code.launchpad.net |
Commit message
StatsdClient: Automatically add env label
Description of the change
Having to add the appropriate env label manually at each call site is a bit too cumbersome and error-prone, and indeed we'd forgotten to include it for traversal and publication duration timings. Add it automatically in the StatsdClient wrapper instead.
To post a comment you must log in.