uber-archive / cherami-server

Distributed, scalable, durable, and highly available message queue system. This project is deprecated and not maintained.
https://eng.uber.com/cherami/
MIT License
1.42k stars 102 forks source link

BacklogAvailble becomes a negative number #342

Open doodle-tnw opened 6 years ago

doodle-tnw commented 6 years ago

When reporting backlog available I see a negative number often.

This is both reported through the admin tool and the statsd output. Because the statsd gauge is used to report the metric, the negative number just decrements the previous value rather than setting it to the new negative number - This means within statsd queue backlogs are hard to judge unless there is currently a backlog.