29 lines
775 B
Text
29 lines
775 B
Text
|
# Example for parsing an example protocol buffer data.
|
||
|
#
|
||
|
# File:
|
||
|
# testcases/addressbook.dat xpath_protobuf
|
||
|
#
|
||
|
# Protobuf:
|
||
|
# testcases/protos/addressbook.proto addressbook.AddressBook
|
||
|
#
|
||
|
# Expected Output:
|
||
|
# addresses,id=101,name=John\ Doe age=42i,email="john@example.com" 1621430181000000000
|
||
|
# addresses,id=102,name=Jane\ Doe age=40i 1621430181000000000
|
||
|
# addresses,id=201,name=Jack\ Doe age=12i,email="jack@example.com" 1621430181000000000
|
||
|
# addresses,id=301,name=Jack\ Buck age=19i,email="buck@example.com" 1621430181000000000
|
||
|
# addresses,id=1001,name=Janet\ Doe age=16i,email="janet@example.com" 1621430181000000000
|
||
|
#
|
||
|
|
||
|
metric_name = "'addresses'"
|
||
|
metric_selection = "//people"
|
||
|
|
||
|
[tags]
|
||
|
id = "id"
|
||
|
name = "name"
|
||
|
|
||
|
[fields_int]
|
||
|
age = "age"
|
||
|
|
||
|
[fields]
|
||
|
email = "email"
|