Slide 20
Slide 20 text
InfluxDB
Line Protocol
- whitespace are
separator of each
components
- support floats,
integers, string or
booleans as field
values type
- use HTTP API with
curl or CLI to write to
InfluxDB with Line
Protocol
Syntax)
weather,location=us-midwest temperature=82 1465839830100400200
| --------------------------------- ------------------------- |
| | | |
| | | |
+---------------------+-----------+-+-----------------+-+------------------+
|measurement|,tag_set| | field_set | |timestamp|
+---------------------+-----------+-+-----------------+-+------------------+
Example)
ghz_detail,proto="/testdata/greeter.proto",call="helloworld.Greeter.SayHello",host="0.0.0.
0:50051",n=1000,c=50,qps=0,z=0,timeout=20,dial_timeout=10,keepalive=0,data="{\"name\
":\"{{.InputName}}\"}",metadata="{\"rn\":\"{{.RequestNumber}}\"}",hasError=false
latency=5157328,error=,status=OK 681023506