10 lines
412 B
Bash
10 lines
412 B
Bash
curl --request POST "http://localhost:8086/api/v2/write?org=YOUR_ORG&bucket=YOUR_BUCKET&precision=s" \
|
|
--header "Authorization: Token YOURAUTHTOKEN" \
|
|
--header "Content-Encoding: gzip" \
|
|
--data-raw "
|
|
mem,host=host1 used_percent=23.43234543 1556896326
|
|
mem,host=host2 used_percent=26.81522361 1556896326
|
|
mem,host=host1 used_percent=22.52984738 1556896336
|
|
mem,host=host2 used_percent=27.18294630 1556896336
|
|
"
|