prorm API Reference
    Preparing search index...

    Interface PointInput

    Plain-object description of a point, for the writeMeasurement/writeMeasurements convenience methods.

    interface PointInput {
        measurement: string;
        tags?: Record<string, string>;
        fields: Record<string, string | number | boolean>;
        intFields?: string[];
        uintFields?: string[];
        timestamp?: string | number | Date;
    }
    Index
    measurement: string

    Measurement name.

    tags?: Record<string, string>

    Tag set (indexed, string-valued).

    fields: Record<string, string | number | boolean>

    Field set (the actual values). number fields are written as floats unless intFields/uintFields name them explicitly - see PointInput.intFields/uintFields.

    intFields?: string[]

    Names (subset of fields' keys) that should be written as signed integers instead of floats.

    uintFields?: string[]

    Names (subset of fields' keys) that should be written as unsigned integers instead of floats.

    timestamp?: string | number | Date

    Point timestamp. undefined (default) lets the client stamp it with the local clock; an explicit Date/number/string sets it; the empty string '' omits it so the server assigns one on ingest.