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

interface PointSettings {
    convertTime?: (
        value: undefined | string | number | Date,
    ) => undefined | string;
    defaultTags?: { [key: string]: string };
}

Hierarchy (View Summary)

Properties

convertTime?: (value: undefined | string | number | Date) => undefined | string

convertTime serializes Point's timestamp to a line protocol value

defaultTags?: { [key: string]: string }

default tags to add to every point

MMNEPVFCICPMFPCPTTAAATR