writePoint

abstract suspend fun writePoint(point: Point, bucket: String? = null, org: String? = null)(source)

Write Data Point into InfluxDB.

If any exception occurs during write, this exception is rethrown from this method.

Parameters

point

specified data point. The point is considered as one batch unit.

bucket

specifies the destination bucket for writes. The com.influxdb.client.InfluxDBClientOptions.getBucket will be used as the destination bucket if the bucket is not specified.

org

specifies the destination organization for writes. The com.influxdb.client.InfluxDBClientOptions.getOrg will be used as the destination organization if the org is not specified.