Package com.influxdb.client.osgi
Annotation Interface PointWriter.Config
- Enclosing class:
PointWriter
public static @interface PointWriter.Config
Configuration for Point Writer.
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionInfluxDB bucket to write data (overriding bucket ofInfluxDBClient
).OSGi target filter for InfluxDB connection, i.e.InfluxDB organization to write data (overriding organization ofInfluxDBClient
). -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
OSGi event handler topic(s).boolean
Tag point(s) by host address (asPointWriter.HOST_ADDRESS
) if enabled.boolean
Tag point(s) by host name (asPointWriter.HOST_NAME
) if enabled.boolean
Add timestamp to point(s) if enabled.Precision used if adding timestamp, values:s
,ms
,us
,ns
.
-
Element Details
-
event_topics
String[] event_topicsOSGi event handler topic(s).- Default:
{"influxdb/point"}
-
client_target
String client_targetOSGi target filter for InfluxDB connection, i.e.(alias=test)
. The following properties are copied fromInfluxDBConnector
:organization
,bucket
,database
,url
,alias
. -
host_name_add
boolean host_name_addTag point(s) by host name (asPointWriter.HOST_NAME
) if enabled.- Default:
false
-
host_address_add
boolean host_address_addTag point(s) by host address (asPointWriter.HOST_ADDRESS
) if enabled.- Default:
false
-
timestamp_add
boolean timestamp_addAdd timestamp to point(s) if enabled. Timestamp of OSGi event is used if available, current timestamp otherwise.- Default:
false
-
timestamp_precision
String timestamp_precisionPrecision used if adding timestamp, values:s
,ms
,us
,ns
.- Default:
"ns"
-
organization
String organizationInfluxDB organization to write data (overriding organization ofInfluxDBClient
). -
bucket
String bucketInfluxDB bucket to write data (overriding bucket ofInfluxDBClient
).
-