Target:Scale

From collectd Wiki

Jump to: navigation, search
Scale target
Type: target
Status: supported
First version: 4.9
Copyright: 2008–2009 Florian octo Forster
License: GPLv2
Manpage: collectd.conf(5)
List of Targets
Plugins:

Built-in:

The Scale target can be used to modify the values being handled by collectd. Currently you can multiply the values by a constant (hence the name “scale”) and add an offset. This works not only for GAUGE but for all data source types.

For the COUNTER, DERIVE, and ABSOLUTE data source types, all of which are integers, the target tracks the rounding error. This way the introduced error is minimized which allows to scale slow changing counters down and to multiply by arbitrary doubles.

Synopsis

<Target "scale">
  Factor 3.14159265358979323846
  #Offset 42
</Target>

Dependencies

  • none