| 格式 | <measurement>[,<tag_key>=<tag_value>…] <field_key>=<field_value>[,…] [<timestamp>] |
|---|---|
| 类型 | field 值:浮点 1.0、整数 1i、布尔 true、字符串 "text" |
| 时间戳 | 默认纳秒(precision 参数可指定 s/ms/us/ns) |
示例
示例
cpu,host=web-1,region=cn usage=0.73,idle=99.2 1719792000000000000
http_requests,service=api,code=200 count=42i 1719792000000000000
temperature,room=office value=23.5
weather,location=us-midwest temperature="sunny" 1719792000000000000同一行里多个 field 会写入同一个点;field 顺序与类型在同一 measurement 的同一分片周期内需保持一致。