Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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
Open

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

ChristianKniep opened this issue Jan 3, 2014 · 0 comments

Comments

@ChristianKniep
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant