X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=74fb977e2019867ea27834fd2f7c45ca2a07ad55;hb=f66916deea905254061bb07245e007471faf2ecf;hp=64be99e23a5742639e59f65b2450ee0b20927fba;hpb=946aff045b9e996c0ef0a4887660943f442c87c5;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 64be99e2..74fb977e 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -555,6 +555,7 @@ B # GraphiteEscapeChar "_" # GraphiteSeparateInstances false # GraphiteAlwaysAppendDS false + # GraphitePreserveSeparator false # Receive values from an AMQP broker @@ -729,6 +730,12 @@ If set to 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. +=item B B|B + +If set to B (the default) the C<.> (dot) character is replaced with +I. Otherwise, if set to B, the C<.> (dot) character +is preserved, i.e. passed through. + =back =head2 Plugin C @@ -7144,6 +7151,13 @@ Use the greatest number only. Use the last number found. +=item B + +Use the last number found. The number is not reset at the end of an interval. +It is continously reported until another number is matched. This is intended +for cases in which only state changes are reported, for example a thermometer +that only reports the temperature when it changes. + =item B =item B @@ -7173,6 +7187,14 @@ Increase the internal counter by one. These B are the only ones that do not use the matched subexpression, but simply count the number of matched lines. Thus, you may use a regular expression without submatch in this case. +=item B + +Special type to handle latency values from logfiles. The matched value must be +latency in seconds, floating point numbers are supported. +Should be used with B or B options. + +The B option cannot be used together with B B. + =back As you'd expect the B types interpret the submatch as a floating point @@ -7191,6 +7213,31 @@ their configuration can be found in L. This optional setting sets the type instance to use. +=item B I + +Calculate and dispatch the configured percentile, i.e. compute the latency, so +that I of all matched latency values are smaller than or equal to the +computed latency. + +Different percentiles can be calculated by setting this option several times. + +=item B I +Sets the type used to dispatch B values. + +=item B I I + +Calculate and dispatch rate of latency values fall within requested interval. +Interval is specified as [I, I] (including +boundaries). Rate cannot be reported for 0.000 latency, so I +should be 0.001 or greater. When I value is equal to 0 then +interval is [lower, infinity). + +Rates for different intervals can be calculated by setting this option several +times. + +=item B I +Sets the type used to dispatch B values. + =back =head2 Plugin C @@ -7773,8 +7820,6 @@ option is set to 0, refreshing is disabled completely. =item B I -=item B B|B - =item B I =item B B|B @@ -7800,54 +7845,48 @@ Example: Ignore all I devices on any domain, but other block devices (eg. I) will be collected. -If I is set to B, then the device names will be the ones -in the I node for the device in the XML definition of the domain. The -default is B. This is the behavior before adding the option. +=item B B|B -If I is set to B, then the device names will be the ones -in the I node for the device in the XML definition of the domain. +If I is set to B, the default, then the device name +seen by the guest will be used for reporting metrics. +This corresponds to the CtargetE> node in the XML definition of the +domain. -Example: - -If the domain XML have the following device defined: +If I is set to B, then metrics will be reported +using the path of the source, e.g. an image file. +This corresponds to the CsourceE> node in the XML definition of the +domain. - - - - - -
- +B -setting - - BlockDeviceFormat target - -will name the device in the graph as C - -setting - - BlockDeviceFormat source +If the domain XML have the following device defined: -will name the device in the graph as C + + + + + +
+ -These names will also be part of the RRD filename. +Setting C will cause the I to be set +to C. +Setting C will cause the I to be set +to C. =item B B|B -I - this option is honored if and only if -option I is set to B. If set to B then -only the last part of the path will be used for device name and naming the -RRD file. - -Example: +The B controls whether the full path or the +L of the source is being used as the I when +B is set to B. Defaults to B. -if the device path (source tag) is: C +B -setting: - BlockDeviceFormatBasename true - -will set the device name to: C +Assume the device path (source tag) is C. +Setting C will cause the I to +be set to C. +Setting C will cause the I to be +set to C. =item B B @@ -8015,6 +8054,12 @@ If set to 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. +=item B B|B + +If set to B (the default) the C<.> (dot) character is replaced with +I. Otherwise, if set to B, the C<.> (dot) character +is preserved, i.e. passed through. + =item B B|B If set to B, detect and remove duplicate components in Graphite metric @@ -8149,6 +8194,41 @@ want to use authentication all three fields must be set. =back +=head2 Plugin C + +The I implements a tiny webserver that can be scraped +using I. + +B + +=over 4 + +=item B I + +Port the embedded webserver should listen on. Defaults to B<9103>. + +=item B I + +Time in seconds after which I considers a metric "stale" if it +hasn't seen any update for it. This value must match the setting in Prometheus. +It defaults to B<300> seconds (5 minutes), same as Prometheus. + +B + +I has a global setting, C, which controls after +which time a metric without updates is considered "stale". This setting +effectively puts an upper limit on the interval in which metrics are reported. + +When the I encounters a metric with an interval +exceeding this limit, it will inform you, the user, and provide the metric to +I B a timestamp. That causes I to consider the +metric "fresh" each time it is scraped, with the time of the scrape being +considered the time of the update. The result is that there appear more +datapoints in I than were actually created, but at least the metric +doesn't disappear periodically. + +=back + =head2 Plugin C This output plugin submits values to an HTTP server using POST requests and @@ -8382,6 +8462,17 @@ path component, for example C. If set to B (the default), the plugin and plugin instance (and likewise the type and type instance) are put into one component, for example C. +=item B B|B + +If set to 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. + +=item B B|B + +If set to B (the default) the C<.> (dot) character is replaced with +I. Otherwise, if set to B, the C<.> (dot) character +is preserved, i.e. passed through. =item B B|B If set to B (the default), convert counter values to rates. If set to