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:
<password>
The following Java example code demonstrates how to configure the InfluxDB client when connecting to GreptimeCloud:
final String serverURL = "https://<host>/v1/influxdb/", username = "<username>", password = "<password>";
final InfluxDB influxDB = InfluxDBFactory.connect(serverURL, username, password);
influxDB.setDatabase("<dbname>");
当前内容版权归 GreptimeDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 GreptimeDB .