1
0
Fork 0
telegraf/plugins/parsers/xpath/testcases/protobuf_benchmark/telegraf.conf
Daniel Baumann 4978089aab
Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-24 07:26:29 +02:00

24 lines
634 B
Text

[[inputs.file]]
files = ["./testcases/protobuf_benchmark/message.bin"]
data_format = "xpath_protobuf"
xpath_protobuf_files = ["benchmark.proto"]
xpath_protobuf_type = "benchmark.BenchmarkData"
xpath_protobuf_import_paths = [".", "./testcases/protobuf_benchmark"]
xpath_native_types = true
[[inputs.file.xpath]]
metric_name = "'benchmark'"
metric_selection = "//data"
timestamp = "timestamp"
timestamp_format = "unix_ns"
[inputs.file.xpath.tags]
source = "source"
tags_sdkver = "tags_sdkver"
tags_platform = "tags_platform"
[inputs.file.xpath.fields]
value = "value"