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
22
agent/testcases/aggregators-skip-processors/telegraf.conf
Normal file
22
agent/testcases/aggregators-skip-processors/telegraf.conf
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Test for skipping processors after running aggregators
|
||||
[agent]
|
||||
omit_hostname = true
|
||||
skip_processors_after_aggregators = true
|
||||
|
||||
[[inputs.file]]
|
||||
files = ["testcases/aggregators-skip-processors/input.influx"]
|
||||
data_format = "influx"
|
||||
|
||||
[[processors.starlark]]
|
||||
source = '''
|
||||
def apply(metric):
|
||||
for k, v in metric.fields.items():
|
||||
if type(v) == "float":
|
||||
metric.fields[k] = v * 10
|
||||
return metric
|
||||
'''
|
||||
|
||||
[[aggregators.minmax]]
|
||||
period = "1s"
|
||||
drop_original = false
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue