Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
27
plugins/processors/scale/sample.conf
Normal file
27
plugins/processors/scale/sample.conf
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Scale values with a predefined range to a different output range.
|
||||
[[processors.scale]]
|
||||
## It is possible to define multiple different scaling that can be applied
|
||||
## do different sets of fields. Each scaling expects the following
|
||||
## arguments:
|
||||
## - input_minimum: Minimum expected input value
|
||||
## - input_maximum: Maximum expected input value
|
||||
## - output_minimum: Minimum desired output value
|
||||
## - output_maximum: Maximum desired output value
|
||||
## alternatively you can specify a scaling with factor and offset
|
||||
## - factor: factor to scale the input value with
|
||||
## - offset: additive offset for value after scaling
|
||||
## - fields: a list of field names (or filters) to apply this scaling to
|
||||
|
||||
## Example: Scaling with minimum and maximum values
|
||||
# [[processors.scale.scaling]]
|
||||
# input_minimum = 0.0
|
||||
# input_maximum = 1.0
|
||||
# output_minimum = 0.0
|
||||
# output_maximum = 100.0
|
||||
# fields = ["temperature1", "temperature2"]
|
||||
|
||||
## Example: Scaling with factor and offset
|
||||
# [[processors.scale.scaling]]
|
||||
# factor = 10.0
|
||||
# offset = -5.0
|
||||
# fields = ["voltage*"]
|
Loading…
Add table
Add a link
Reference in a new issue