From 263bcda63f146f35390f44460ecdab49717eb8a4 Mon Sep 17 00:00:00 2001 From: Nicolargo Date: Wed, 31 Dec 2014 11:24:46 +0100 Subject: [PATCH] Update doc for Statsd export module --- docs/glances-doc.rst | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/docs/glances-doc.rst b/docs/glances-doc.rst index c13e4e54..9a056682 100644 --- a/docs/glances-doc.rst +++ b/docs/glances-doc.rst @@ -154,6 +154,8 @@ Command-Line Options export stats to a CSV file --export-influxdb export stats to an InfluxDB server + --export-statsd + export stats to a Statsd server -c CLIENT, --client CLIENT connect to a Glances server by IPv4/IPv6 address or hostname @@ -684,7 +686,7 @@ CSV file description: *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] host=localhost @@ -699,6 +701,32 @@ and run Glances with: $ 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 ===================