Asynchronous API that writes time-series data into InfluxDB. This API always sends data to InfluxDB immediately

interface default {
    close(): Promise<void>;
    doWrite(
        lines: string[],
        bucket: string,
        org?: string,
        writeOptions?: Partial<WriteOptions>,
    ): Promise<void>;
}

Implemented by

Methods

Methods

  • Write lines of Line Protocol.

    Parameters

    • lines: string[]

      InfluxDB Line Protocol

    • bucket: string
    • Optionalorg: string
    • OptionalwriteOptions: Partial<WriteOptions>

    Returns Promise<void>