-
Notifications
You must be signed in to change notification settings - Fork 384
handler StatsdHandler
Rob Smith edited this page Aug 26, 2013
·
9 revisions
Implements the abstract Handler class, sending data to statsd. This is a UDP service, sending datagrams. They may be lost. It's OK.
- python-statsd
- statsd v0.1.1 or newer.
Enable this handler
- handers = diamond.handler.stats_d.StatsdHandler
If your system has both python-statsd and statsd installed, you might experience failues after python updates or pip updates that change the order of importing. We recommend that you only have python-statsd installed on your system if you are using this handler.
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 |