[[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"
