Annotation Interface PointWriter.Config

Enclosing class:
PointWriter

public static @interface PointWriter.Config
Configuration for Point Writer.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    InfluxDB bucket to write data (overriding bucket of InfluxDBClient).
    OSGi target filter for InfluxDB connection, i.e.
    InfluxDB organization to write data (overriding organization of InfluxDBClient).
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    OSGi event handler topic(s).
    boolean
    Tag point(s) by host address (as PointWriter.HOST_ADDRESS) if enabled.
    boolean
    Tag point(s) by host name (as PointWriter.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_topics
      OSGi event handler topic(s).
      Default:
      {"influxdb/point"}
    • client_target

      String client_target
      OSGi target filter for InfluxDB connection, i.e. (alias=test). The following properties are copied from InfluxDBConnector: organization, bucket, database, url, alias.
    • host_name_add

      boolean host_name_add
      Tag point(s) by host name (as PointWriter.HOST_NAME) if enabled.
      Default:
      false
    • host_address_add

      boolean host_address_add
      Tag point(s) by host address (as PointWriter.HOST_ADDRESS) if enabled.
      Default:
      false
    • timestamp_add

      boolean timestamp_add
      Add timestamp to point(s) if enabled. Timestamp of OSGi event is used if available, current timestamp otherwise.
      Default:
      false
    • timestamp_precision

      String timestamp_precision
      Precision used if adding timestamp, values: s, ms, us, ns.
      Default:
      "ns"
    • organization

      String organization
      InfluxDB organization to write data (overriding organization of InfluxDBClient).
    • bucket

      String bucket
      InfluxDB bucket to write data (overriding bucket of InfluxDBClient).