Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

"hisgauge:+10|g" should increase, not overwrite... #9

Open
ChristianKniep opened this Issue Jan 3, 2014 · 0 comments

Comments

Projects
None yet
1 participant

A gauge should be in/decreaseable.
Instantiating somegauge with 5, adding 50 and 500...

# echo "somegauge:+5|g" |nc -u 127.0.0.1 8125
# echo "somegauge:+50|g" |nc -u 127.0.0.1 8125
# echo "somegauge:+500|g" |nc -u 127.0.0.1 8125

...should sum up to 555. But the previous value is overwritten instead.

# whisper-fetch /var/lib/carbon/whisper/stats/somegauge.wsp |grep -v None
1388752330      5.000000
1388752340      50.000000
1388752345      500.000000

Would be awesome if this behavior could be added, I am desperatly looking for a more performant version then the original... :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment