From ccfed46ff2b8b8857a328e134bed369772a46d6d Mon Sep 17 00:00:00 2001 From: Kevin Bowling Date: Wed, 13 Aug 2014 01:25:57 -0700 Subject: [PATCH] [METRICS-383] Add documentation for write_tsdb --- README | 4 ++++ src/collectd.conf.in | 2 ++ src/collectd.conf.pod | 53 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) diff --git a/README b/README index 60de1edd..cd581425 100644 --- a/README +++ b/README @@ -411,6 +411,10 @@ Features can be configured to avoid logging send errors (especially useful when using UDP). + - write_tsdb + Sends data OpenTSDB, a scalable no master, no shared state time series + database. + - write_http Sends the values collected by collectd to a web-server using HTTP POST requests. The transmitted data is either in a form understood by the diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 00d44497..18a74c65 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -1249,6 +1249,8 @@ # Host "localhost" # Port "4242" # HostTags "status=production" +# StoreRates false +# AlwaysAppendDS false # # diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 3acf0f89..acd0cbbe 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -6518,6 +6518,59 @@ more than one DS. =back +=head2 Plugin C + +The C plugin writes data to I, a scalable open-source +time series database. The plugin connects to a I, a masterless, no shared +state daemon that ingests metrics and stores them in HBase. The plugin uses +I over the "line based" protocol with a default port 4242. The data will +be sent in blocks of at most 1428 bytes to minimize the number of network +packets. + +Synopsis: + + + + Host "tsd-1.my.domain" + Port "4242" + HostTags "status=production" + + + +The configuration consists of one or more EBEIE +blocks. Inside the B blocks, the following options are recognized: + +=over 4 + +=item B I
+ +Hostname or address to connect to. Defaults to C. + +=item B I + +Service name or port number to connect to. Defaults to C<4242>. + + +=item B I + +When set, I is added to the end of the metric. It is intended to be +used for name=value pairs that the TSD will tag the metric with. Dots and +whitespace are I escaped in this string. + +=item B B|B + +If set to B, convert counter values to rates. If set to B +(the default) counter values are stored as is, as an increasing +integer number. + +=item B B|B + +If set the B, append the name of the I (DS) to the "metric" +identifier. If set to B (the default), this is only done when there is +more than one DS. + +=back + =head2 Plugin C The I will send values to I, a schema-less -- 2.30.2