InfluxDB Line Protocol

GreptimeCloud 提供了 Influxdb line protocol 的 http 接口。该接口和认证与 InfluxDB write protocol 1.x 兼容。更多信息请参考 GreptimeDB 的 InfluxDB 客户端

  • URL: https://<host>/v1/influxdb/write?db=<dbname>
  • Username: <username>
  • Password: Your service password

sh

  1. curl -i 'https://<host>/v1/influxdb/write?db=<dbname>&u=<username>&p=PASSWORD' \
  2. --data-binary 'system_metrics,host=host1,idc=idc_a cpu_util=11.8,memory_util=10.3,disk_util=10.3 1667446797450000000'