Merge lp://staging/~theiw/txstatsd/deprecate-meter into lp://staging/txstatsd
Proposed by
Ian Wilkinson
Status: | Merged |
---|---|
Approved by: | Sidnei da Silva |
Approved revision: | 18 |
Merged at revision: | 15 |
Proposed branch: | lp://staging/~theiw/txstatsd/deprecate-meter |
Merge into: | lp://staging/txstatsd |
Diff against target: |
1736 lines (+666/-655) 15 files modified
example-stats-client.tac (+14/-7) txstatsd/client.py (+114/-0) txstatsd/metrics.py (+0/-154) txstatsd/metrics/gaugemetric.py (+22/-0) txstatsd/metrics/metric.py (+47/-0) txstatsd/metrics/metrics.py (+80/-0) txstatsd/processor.py (+0/-140) txstatsd/protocol.py (+0/-82) txstatsd/report.py (+0/-46) txstatsd/server/processor.py (+213/-0) txstatsd/server/protocol.py (+61/-0) txstatsd/service.py (+0/-128) txstatsd/tests/test_metrics.py (+60/-72) txstatsd/tests/test_processor.py (+54/-25) txstatsd/version.py (+1/-1) |
To merge this branch: | bzr merge lp://staging/~theiw/txstatsd/deprecate-meter |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sidnei da Silva | Approve | ||
Lucio Torre (community) | Approve | ||
Review via email:
|
Description of the change
[1] service.py placed at top-level.
[2] client.py placed at top-level
[3] Renamed StatsDClient to TwistedStatsDCl
[4] report.py to top-level.
[5] processor.py refactored following the style introduced with gauge metric handling.
[6] meter.py to be removed.
To post a comment you must log in.
946 + metric = [float(v) for v in values]
947 + metric.append(key)
that code seems to imply that the contents of metric could be *values, key
when in reality it has to be [value, key]
so maybe it can be replaced with a one liner: metric = [ float(value[0]), key]