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,2 @@
new_metric,name=partition LogEndOffset=339238i,LogStartOffset=339238i,NumLogSegments=1i,Size=0i,UnderReplicatedPartitions=0i 1610056029037925000
new_metric,name=partition LogEndOffset=33914i,LogStartOffset=33238i,NumLogSegments=1i,Size=2i,UnderReplicatedPartitions=5i 1610056029037956000

View file

@ -0,0 +1,36 @@
[
{
"data": {
"LogEndOffset": 339238,
"LogStartOffset": 339238,
"NumLogSegments": 1,
"Size": 0,
"UnderReplicatedPartitions": 0
},
"name": "partition",
"tags": {
"host": "CUD1-001559",
"jolokia_agent_url": "http://localhost:7777/jolokia",
"partition": "1",
"topic": "qa-kafka-connect-logs"
},
"timestamp": 1591124461
},
{
"data": {
"LogEndOffset": 33914,
"LogStartOffset": 33238,
"NumLogSegments": 1,
"Size": 2,
"UnderReplicatedPartitions": 5
},
"name": "partition",
"tags": {
"host": "CUD1-001559",
"jolokia_agent_url": "http://localhost:7777/jolokia",
"partition": "1",
"topic": "qa-kafka-connect-logs"
},
"timestamp": 1591124461
}
]

View file

@ -0,0 +1,15 @@
# Example taken from: https://github.com/influxdata/feature-requests/issues/160
[[inputs.file]]
files = ["./testdata/nested_array_of_objects/input.json"]
data_format = "json_v2"
[[inputs.file.json_v2]]
measurement_name = "new_metric"
[[inputs.file.json_v2.object]]
path = "@this"
disable_prepend_keys = true
excluded_keys = ["tags", "timestamp"]
tags = ["name"]
[inputs.file.json_v2.object.fields]
data = "int"