Extends
Client
Constructors
Constructor
new InfluxClient(Defined in: packages/shared-influx-pieces/src/lib/InfluxClient.ts:18options?):InfluxClient
Parameters
options?
ConnectionOptions = {}
Returns
InfluxClient
Overrides
Client.constructor
Properties
influx
Defined in: packages/influx-utilities/dist/esm/index.d.ts:23readonlyinflux:InfluxDB
Inherited from
Client.influx
interactionCounters
interactionCounters:Defined in: packages/shared-influx-pieces/src/lib/InfluxClient.ts:11 Represents the count of different types of interactions.Record<InteractionCounterKey,number>
queryApi
Defined in: packages/influx-utilities/dist/esm/index.d.ts:24readonlyqueryApi:QueryApi
Inherited from
Client.queryApi
writeApi
Defined in: packages/influx-utilities/dist/esm/index.d.ts:25readonlywriteApi:WriteApi
Inherited from
Client.writeApi
Methods
addInjectTag()
addInjectTag(Defined in: packages/influx-utilities/dist/esm/index.d.ts:33 Adds a tag that will be injected in all points.name,value):void
Parameters
name
string
The name of the tag to inject.
value
string
The value of the tag to inject.
Returns
void
Inherited from
Client.addInjectTag
flush()
flush(Defined in: packages/influx-utilities/dist/esm/index.d.ts:48 Flushes the pending writes to the server.withRetryBuffer?):Promise<void>
Parameters
withRetryBuffer?
boolean
Whether or not it should flush the scheduled retries
Returns
Promise<void>
Inherited from
Client.flush
writePoint()
writePoint(Defined in: packages/influx-utilities/dist/esm/index.d.ts:38 Writes a point into the write buffer.point):void
Parameters
point
Point
The point to write.
Returns
void
Inherited from
Client.writePoint
writePoints()
writePoints(Defined in: packages/influx-utilities/dist/esm/index.d.ts:43 Writes multiple points into the write buffer.points):void
Parameters
points
readonlyPoint[]
The points to write.
Returns
void
Inherited from
Client.writePoints