-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
The current code base does nothing to detect or react to StatsD daemons that are not alive. The UDP StatsD protocol is designed to be fire-and-forget and offers no way to detect if the other side has received the packet.
StatsD daemons have a TCP administrative interface that's probably very useful for checking if the process is alive. That may be of help with this issue.
Things to think about:
- How do we configure this? Command line representation? I'd rather not require a config file if possible -- although I'm not opposed to it.
- What do we do with metrics destined for a down StatsD daemon? Buffer them? Probably redirect them to the next available daemon as time stamp information is gathered when the packet is received and isn't in the packet. This may cause inconsistent data in upstream Graphite when/if multiple statsd daemons submit the same metric during hash-ring changes. But probably the least bad situation.
- What do we do when all statsd daemons are dead? Log loudly and drop packets?
Metadata
Metadata
Assignees
Labels
No labels