InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client > WriteApi > useDefaultTags
Instructs to use the following default tags when writing points. Not applicable for writing records/lines.
Signature:
useDefaultTags(tags: {
[key: string]: string;
}): WriteApi;
Parameter | Type | Description |
---|---|---|
tags | { [key: string]: string; } | default tags |
Returns:
this