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
1
plugins/parsers/json_v2/testdata/measurement_name_int/expected.out
vendored
Normal file
1
plugins/parsers/json_v2/testdata/measurement_name_int/expected.out
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
32 label="Basic"
|
19
plugins/parsers/json_v2/testdata/measurement_name_int/input.json
vendored
Normal file
19
plugins/parsers/json_v2/testdata/measurement_name_int/input.json
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"value_id": "52-32-1-0",
|
||||
"node_id": 52,
|
||||
"class_id": 32,
|
||||
"type": "byte",
|
||||
"genre": "basic",
|
||||
"instance": 1,
|
||||
"index": 0,
|
||||
"label": "Basic",
|
||||
"units": "",
|
||||
"help": "Basic status of the node",
|
||||
"read_only": false,
|
||||
"write_only": false,
|
||||
"min": 0,
|
||||
"max": 255,
|
||||
"is_polled": false,
|
||||
"value": 0,
|
||||
"lastUpdate": 1584636017962
|
||||
}
|
9
plugins/parsers/json_v2/testdata/measurement_name_int/telegraf.conf
vendored
Normal file
9
plugins/parsers/json_v2/testdata/measurement_name_int/telegraf.conf
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Example taken from: https://github.com/influxdata/feature-requests/issues/160
|
||||
|
||||
[[inputs.file]]
|
||||
files = ["./testdata/measurement_name_int/input.json"]
|
||||
data_format = "json_v2"
|
||||
[[inputs.file.json_v2]]
|
||||
measurement_name_path = "class_id"
|
||||
[[inputs.file.json_v2.field]]
|
||||
path = "label"
|
Loading…
Add table
Add a link
Reference in a new issue