cyanite icon indicating copy to clipboard operation
cyanite copied to clipboard

Add a statsd input

Open pyr opened this issue 10 years ago • 2 comments

It would not take much to have a statsd listener in addition to the carbon one, our storage schema in cassandra makes the listener part stateless, which is a nice addition

pyr avatar Dec 09 '13 07:12 pyr

I am interested in having statsd support as well, but am confused as to how you could do it without state?

Would you simplify pre-calculate all the values over the sample, write them to the store, and then just re-write them as needed?

If you wanted to give a bit more direction, I might be interested in trying my hand at a PR on this one.

addisonj avatar May 15 '14 19:05 addisonj

Hi,

There are several ways to go about it. A first implementation could assume all statsd requests come in to the same cyanite process, I don't think it's necessary to implement it in a stateless way for now.

What this would mean is keeping an atom of counters and rates and flush out values at every interval

pyr avatar May 22 '14 08:05 pyr