influxdb-client-js

InfluxDB 2.0 JavaScript client

View the Project on GitHub influxdata/influxdb-client-js

Home > @influxdata/influxdb-client > PointSettings

PointSettings interface

Settings that control the way of how a Point is serialized to a protocol line.

Signature:

interface PointSettings 

Properties

Property Modifiers Type Description
convertTime?   (value: string | number | Date | undefined) => string | undefined (Optional) convertTime serializes Point’s timestamp to a line protocol value
defaultTags?   { [key: string]: string; } (Optional) default tags to add to every point