1

I am helping my end users migrating some data interface from OpenTSDB to CnosDB and following this doc here.I could write one data point per quest as follows:

curl -i -u "myUsername:myPassword" -XPOST "http://localhost:8902/api/v1/opentsdb/write?db=example" -d 'test 1666165200290401000 1 host=web01 interface=eth0'

How to write multiple data points in ONE POST request so to make best use of the batch writing optimization?

Munin
  • 1,576
  • 2
  • 19

0 Answers0