InfluxDB Line Protocol

GreptimeCloud provides Influxdb line protocol ingestion API over http. The API and authentication is compatible with InfluxDB write protocol 1.x. Please refer to InfluxDB client of GreptimeDB for more information.

  • 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'