InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client > PointSettings
Settings that control the way of how a Point is serialized to a protocol line.
Signature:
interface PointSettings
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 |