Skip to content

handler StatsdHandler

keen99 edited this page May 27, 2014 · 9 revisions

StatsdHandler

Implements the abstract Handler class, sending data to statsd. This is a UDP service, sending datagrams. They may be lost. It's OK.

Dependencies

Configuration

Enable this handler

  • handlers = diamond.handler.stats_d.StatsdHandler

Notes

The handler file is named an odd stats_d.py because of an import issue with having the python library called statsd and this handler's module being called statsd, so we use an odd name for this handler. This doesn't affect the usage of this handler.

Options - Generic Options

Setting Default Description Type
batch 1 int
get_default_config_help get_default_config_help
host str
port 1234 int
server_error_interval 120 How frequently to send repeated server errors int

This file was generated from the python source

Please edit the source to make changes

Clone this wiki locally