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
30
plugins/outputs/execd/sample.conf
Normal file
30
plugins/outputs/execd/sample.conf
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Run executable as long-running output plugin
|
||||
[[outputs.execd]]
|
||||
## One program to run as daemon.
|
||||
## NOTE: process and each argument should each be their own string
|
||||
command = ["my-telegraf-output", "--some-flag", "value"]
|
||||
|
||||
## Environment variables
|
||||
## Array of "key=value" pairs to pass as environment variables
|
||||
## e.g. "KEY=value", "USERNAME=John Doe",
|
||||
## "LD_LIBRARY_PATH=/opt/custom/lib64:/usr/local/libs"
|
||||
# environment = []
|
||||
|
||||
## Delay before the process is restarted after an unexpected termination
|
||||
restart_delay = "10s"
|
||||
|
||||
## Flag to determine whether execd should throw error when part of metrics is unserializable
|
||||
## Setting this to true will skip the unserializable metrics and process the rest of metrics
|
||||
## Setting this to false will throw error when encountering unserializable metrics and none will be processed
|
||||
## This setting does not apply when use_batch_format is set.
|
||||
# ignore_serialization_error = false
|
||||
|
||||
## Use batch serialization instead of per metric. The batch format allows for the
|
||||
## production of batch output formats and may more efficiently encode and write metrics.
|
||||
# use_batch_format = false
|
||||
|
||||
## Data format to export.
|
||||
## Each data format has its own unique set of configuration options, read
|
||||
## more about them here:
|
||||
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md
|
||||
data_format = "influx"
|
Loading…
Add table
Add a link
Reference in a new issue