libra/doc/statsd/config.rst
Andrew Hutchings b495f628dc DOCS: config and Admin API updates
* Split out config documentation to per-service with a common config doc
* Admin API now resembles reality, updated all the calls
* Customer API now has some internal links

Change-Id: Ie7b57d95b5ecda9f1327b7cb97195f0927a2a877
2013-06-12 17:19:23 +01:00

2.1 KiB

Statsd Configuration

These options are specific to statsd in addition to the common options </config>.

Configuration File

The [statsd] section is specific to the libra_statsd utility. Below is an example:

[statsd]

Command Line Options

libra_statsd

--api_server <HOST:PORT>

The hostname/IP and port colon separated for use with the HP REST API driver. Can be specified multiple times for multiple servers. This option is also used for the hp_rest alerting driver.

--server <HOST:PORT>

Used to specify the Gearman job server hostname and port. This option can be used multiple times to specify multiple job servers

--driver <DRIVER LIST>

The drivers to be used for alerting. This option can be used multiple times to specift multiple drivers.

--ping_interval <PING_INTERVAL>

How often to run a ping check of load balancers (in seconds), default 60

--poll_interval <POLL_INTERVAL>

How long to wait until we consider the initial ping check failed and send a second ping. Default is 5 seconds.

--poll_interval_retry <POLL_INTERVAL>

How long to wait until we consider the second and final ping check failed. Default is 30 seconds.

--repair_interval <REPAIR_INTERVAL>

How often to run a check to see if damaged load balancers had been repaired (in seconds), default 180

--datadog_api_key <KEY>

The API key to be used for the datadog driver

--datadog_app_key <KEY>

The Application key to be used for the datadog driver

--datadog_message_tail <TEXT>

Some text to add at the end of an alerting message such as a list of users to alert (using @user@email.com format), used for the datadog driver.

--datadog_tags <TAGS>

A list of tags to be used for the datadog driver