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
Reviewer Review Type Date Requested Status
Sidnei da Silva Approve
Review via email: mp+96448@code.staging.launchpad.net

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.
76. By Lucio Torre

fix overflow

Revision history for this message
Sidnei da Silva (sidnei) wrote :

Looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches