1
0
Fork 0

Adding upstream version 1.34.4.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-24 07:26:29 +02:00
parent e393c3af3f
commit 4978089aab
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4963 changed files with 677545 additions and 0 deletions

View file

@ -0,0 +1,4 @@
file,name=temperature,units=℃ value=23.4 1555745371450794118
file,name=moisture,units=% value=5 1555745371450794118
file,name=light,units=lux value=10118 1555745371450794118
file,name=fertility,units=us/cm value=0 1555745371450794118

View file

@ -0,0 +1,25 @@
{
"time": 1555745371410,
"measurements": [
{
"name": "temperature",
"value": 23.4,
"units": "℃"
},
{
"name": "moisture",
"value": 5,
"units": "%"
},
{
"name": "light",
"value": 10118,
"units": "lux"
},
{
"name": "fertility",
"value": 0,
"units": "us/cm"
}
]
}

View file

@ -0,0 +1,11 @@
# Example taken from: https://github.com/influxdata/telegraf/issues/5940
[[inputs.file]]
files = ["./testdata/timestamp/input.json"]
data_format = "json_v2"
[[inputs.file.json_v2]]
timestamp_path = "time"
timestamp_format = "unix_ms"
[[inputs.file.json_v2.object]]
path = "measurements"
tags = ["name", "units"]