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
49
plugins/processors/converter/sample.conf
Normal file
49
plugins/processors/converter/sample.conf
Normal file
|
@ -0,0 +1,49 @@
|
|||
# Convert values to another metric value type
|
||||
[[processors.converter]]
|
||||
## Tags to convert
|
||||
##
|
||||
## The table key determines the target type, and the array of key-values
|
||||
## select the keys to convert. The array may contain globs.
|
||||
## <target-type> = [<tag-key>...]
|
||||
[processors.converter.tags]
|
||||
measurement = []
|
||||
string = []
|
||||
integer = []
|
||||
unsigned = []
|
||||
boolean = []
|
||||
float = []
|
||||
|
||||
## Optional tag to use as metric timestamp
|
||||
# timestamp = []
|
||||
|
||||
## Format of the timestamp determined by the tag above. This can be any of
|
||||
## "unix", "unix_ms", "unix_us", "unix_ns", or a valid Golang time format.
|
||||
## It is required, when using the timestamp option.
|
||||
# timestamp_format = ""
|
||||
|
||||
## Fields to convert
|
||||
##
|
||||
## The table key determines the target type, and the array of key-values
|
||||
## select the keys to convert. The array may contain globs.
|
||||
## <target-type> = [<field-key>...]
|
||||
[processors.converter.fields]
|
||||
measurement = []
|
||||
tag = []
|
||||
string = []
|
||||
integer = []
|
||||
unsigned = []
|
||||
boolean = []
|
||||
float = []
|
||||
|
||||
## Optional field to use for converting base64 encoding of IEEE 754 Float32 values
|
||||
## i.e. data_json_content_state_openconfig-platform-psu:output-power":"RKeAAA=="
|
||||
## into a float32 value 1340
|
||||
# base64_ieee_float32 = []
|
||||
|
||||
## Optional field to use as metric timestamp
|
||||
# timestamp = []
|
||||
|
||||
## Format of the timestamp determined by the field above. This can be any
|
||||
## of "unix", "unix_ms", "unix_us", "unix_ns", or a valid Golang time
|
||||
## format. It is required, when using the timestamp option.
|
||||
# timestamp_format = ""
|
Loading…
Add table
Add a link
Reference in a new issue