Merge lp://staging/~sidnei/txstatsd/preserve-last-gauge into lp://staging/txstatsd

Proposed by Sidnei da Silva
Status: Merged
Approved by: Sidnei da Silva
Approved revision: 109
Merged at revision: 109
Proposed branch: lp://staging/~sidnei/txstatsd/preserve-last-gauge
Merge into: lp://staging/txstatsd
Diff against target: 42 lines (+10/-4)
2 files modified
txstatsd/server/processor.py (+0/-3)
txstatsd/tests/test_processor.py (+10/-1)
To merge this branch: bzr merge lp://staging/~sidnei/txstatsd/preserve-last-gauge
Reviewer Review Type Date Requested Status
Sidnei da Silva Approve
Review via email: mp+191293@code.staging.launchpad.net

Commit message

[a=bicycleday] Preserve gauges after each flush.

If the gauge is not updated at the next flush, it will send the
previous value. This is the definition of a gauge as per Etsy StatsD.
Also updated test_flush_gauge_metric in test_processor.py.

Description of the change

Preserve gauges after each flush.

If the gauge is not updated at the next flush, it will send the
previous value. This is the definition of a gauge as per Etsy StatsD.
Also updated test_flush_gauge_metric in test_processor.py.

To post a comment you must log in.
Revision history for this message
Sidnei da Silva (sidnei) :
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