Write points into InfluxDB using the current driver. This is the recommended method for inserting
data into InfluxDB.
public writePoints ( array $points, string $precision = self::PRECISION_NANOSECONDS, string | null $retentionPolicy = null ) : boolean | ||
$points | array | Array of Point objects |
$precision | string | The timestamp precision (defaults to nanoseconds). |
$retentionPolicy | string | null | Specifies an explicit retention policy to use when writing all points. If not set, the default retention period will be used. This is only applicable for the Guzzle driver. The UDP driver utilizes the endpoint configuration defined in the server's influxdb configuration file. |
return | boolean |