From: Pavel Rochnyak Date: Thu, 5 Jul 2018 03:41:18 +0000 (+0700) Subject: Merge pull request #2631 from DanCech/tagged-carbon X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=e9c6bf25649bb8ead1bf383e51426b6552f08251;hp=-c Merge pull request #2631 from DanCech/tagged-carbon Graphite 1.1+ tag support --- e9c6bf25649bb8ead1bf383e51426b6552f08251 diff --combined src/collectd.conf.pod index 81dedaee,35c80209..9cae9c2c --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@@ -1908,11 -1908,6 +1908,11 @@@ plugin below on how matches are defined B options are set to B, B blocks are optional. +=item B I + +Sets the interval (in seconds) in which the values will be collected from this +URL. By default the global B setting will be used. + =item B I The B option sets the overall timeout for HTTP requests to B, in @@@ -2109,11 -2104,6 +2109,11 @@@ Use I as the plugin instance May be overridden by B option inside B blocks. Defaults to an empty string (no plugin instance). +=item B I + +Sets the interval (in seconds) in which the values will be collected from this +URL. By default the global B setting will be used. + =item B I I If an XPath expression references namespaces, they must be specified @@@ -9294,6 -9284,7 +9294,7 @@@ Synopsis Protocol "tcp" LogSendErrors true Prefix "collectd" + UseTags false @@@ -9331,13 -9322,20 +9332,20 @@@ approach and logging errors fills syslo =item B I - When set, I is added in front of the host name. Dots and whitespace are - I escaped in this string (see B below). + When B is I, B value is added in front of the host name. + When B is I, B value is added in front of series name. + + Dots and whitespace are I escaped in this string (see B + below). =item B I - When set, I is appended to the host name. Dots and whitespace are - I escaped in this string (see B below). + When B is I, B value appended to the host name. + When B is I, B value appended to the end of series name + (before the first ; that separates the name from the tags). + + Dots and whitespace are I escaped in this string (see B + below). =item B I @@@ -9359,6 -9357,8 +9367,8 @@@ path component, for example C. + Option value is not used when B is I. + =item B B|B If set to B, append the name of the I (DS) to the "metric" @@@ -9371,12 -9371,31 +9381,31 @@@ If set to B (the default) the C< I. Otherwise, if set to B, the C<.> (dot) character is preserved, i.e. passed through. + Option value is not used when B is I. + =item B B|B If set to B, detect and remove duplicate components in Graphite metric names. For example, the metric name C will be shortened to C. + =item B B|B + + If set to B, Graphite metric names will be generated as tagged series. + This allows for much more flexibility than the traditional hierarchical layout. + + Example: + C + + You can use B option to add more tags by specifying it like + C<;tag1=value1;tag2=value2>. Note what tagging support was added since Graphite + version 1.1.x. + + If set to B, the B and B settings + are not used. + + Default value: B. + =back =head2 Plugin C @@@ -9802,17 -9821,26 +9831,26 @@@ been set to B =item B (B=I only) A prefix can be added in the metric name when outputting in the I - format. It's added before the I name. + format. + + When B is I, prefix is added before the I name. Metric name will be CprefixEEhostEEpostfixEEpluginEEtypeEEnameE> + When B is I, prefix is added in front of series name. + =item B (B=I only) A postfix can be added in the metric name when outputting in the I - format. It's added after the I name. + format. + + When B is I, postfix is added after the I name. Metric name will be CprefixEEhostEEpostfixEEpluginEEtypeEEnameE> + When B is I, prefix value appended to the end of series + name (before the first ; that separates the name from the tags). + =item B (B=I only) Specify a character to replace dots (.) in the host part of the metric name. @@@ -9827,6 -9855,8 +9865,8 @@@ path component, for example C. + Option value is not used when B is I. + =item B B|B If set to B, append the name of the I (DS) to the "metric" @@@ -9839,6 -9869,14 +9879,14 @@@ If set to B (the default) the C< I. Otherwise, if set to B, the C<.> (dot) character is preserved, i.e. passed through. + Option value is not used when B is I. + + =item B B|B + + If set to B Graphite metric names will be generated as tagged series. + + Default value: B. + =item B B|B If set to B (the default), convert counter values to rates. If set to