Merge lp://staging/~lucio.torre/txstatsd/fix-exp-overflow into lp://staging/txstatsd
Proposed by
Lucio Torre
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Sidnei da Silva | ||||
Approved revision: | 76 | ||||
Merged at revision: | 75 | ||||
Proposed branch: | lp://staging/~lucio.torre/txstatsd/fix-exp-overflow | ||||
Merge into: | lp://staging/txstatsd | ||||
Diff against target: |
50 lines (+20/-5) 2 files modified
txstatsd/stats/exponentiallydecayingsample.py (+5/-5) txstatsd/tests/stats/test_exponentiallydecayingsample.py (+15/-0) |
||||
To merge this branch: | bzr merge lp://staging/~lucio.torre/txstatsd/fix-exp-overflow | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sidnei da Silva | Approve | ||
Review via email:
|
Commit message
fix exp overflow
Description of the change
we now rescale before processing the metric, to make sure the scale difference between the last scale an now is smaller than RESCALE THRESHOLD.
To post a comment you must log in.
Looks good.