Update doc for Statsd export module

This commit is contained in:
Nicolargo 2014-12-31 11:24:46 +01:00
parent c90fde2f12
commit 263bcda63f

View File

@ -154,6 +154,8 @@ Command-Line Options
export stats to a CSV file export stats to a CSV file
--export-influxdb --export-influxdb
export stats to an InfluxDB server export stats to an InfluxDB server
--export-statsd
export stats to a Statsd server
-c CLIENT, --client CLIENT -c CLIENT, --client CLIENT
connect to a Glances server by IPv4/IPv6 address or connect to a Glances server by IPv4/IPv6 address or
hostname hostname
@ -684,7 +686,7 @@ CSV file description:
*InfluxDB* *InfluxDB*
You can alos export statistics to an InfluxDB server (time series server). The connection should be defined in the Glances configuration file as following: You can export statistics to an InfluxDB server (time series server). The connection should be defined in the Glances configuration file as following:
[influxdb] [influxdb]
host=localhost host=localhost
@ -699,6 +701,32 @@ and run Glances with:
$ glances --export-influxdb $ glances --export-influxdb
*Statsd*
You can export statistics to a Statsd server (welcome to Graphite !). The connection should be defined in the Glances configuration file as following:
[statsd]
host=localhost
port=8125
prefix=glances
Note: the prefix option is optionnal ('glances by default')
and run Glances with:
.. code-block:: console
$ glances --export-statsd
Glances will generate stats as:
'glances.cpu.user': 12.5,
'glances.cpu.total': 14.9,
'glances.load.cpucore': 4,
'glances.load.min1': 0.19,
...
APIs Documentations APIs Documentations
=================== ===================