data to write
OptionaldefaultTags: { [key: string]: string }the default tags to apply to all points.
OptionaltagOrder: string[]preferred order of tags in line protocol serialization. Tags listed here are written first, in the same order. The remaining tags are appended in lexicographical order. This helps control first-write column order in InfluxDB 3.
Optionalprecision: WritePrecisionthe writing precision. It is used as the time precision when serializing Point instances whose timestamp is a Date
Convert
WritableDatato an array of lines of Line Protocol). If the data is an array ofPointobjects, it will be converted to lines of Line Protocol. If the data is a singlePointobject, it will be converted to a single line of Line Protocol. If the data is an array of lines of Line Protocol, it will be returned as is.