emqx_bridge_greptimedb.hocon 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. emqx_bridge_greptimedb {
  2. config_enable.desc:
  3. """Enable or disable this action."""
  4. config_enable.label:
  5. """Enable Or Disable Action"""
  6. desc_config.desc:
  7. """Configuration for an GreptimeDB action."""
  8. desc_config.label:
  9. """GreptimeDB Action Configuration"""
  10. desc_name.desc:
  11. """The name of the action."""
  12. desc_name.label:
  13. """Action Name"""
  14. desc_type.desc:
  15. """The type of the action."""
  16. desc_type.label:
  17. """Action Type"""
  18. local_topic.desc:
  19. """The MQTT topic filter to be forwarded to the GreptimeDB. All MQTT 'PUBLISH' messages with the topic
  20. matching the local_topic will be forwarded.<br/>
  21. NOTE: If this Sink is used as the action of a rule (EMQX rule engine), and also local_topic is
  22. configured, then both the data got from the rule and the MQTT messages that match local_topic
  23. will be forwarded."""
  24. local_topic.label:
  25. """Local Topic"""
  26. write_syntax.desc:
  27. """Conf of GreptimeDB gRPC protocol to write data points. Write syntax is a text-based format that provides the measurement, tag set, field set, and timestamp of a data point, and placeholder supported, which is the same as InfluxDB line protocol.
  28. See also [InfluxDB 2.3 Line Protocol](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) and
  29. [GreptimeDB 1.8 Line Protocol](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) <br/>
  30. TLDR:<br/>
  31. ```
  32. <measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]
  33. ```
  34. Please note that a placeholder for an integer value must be annotated with a suffix `i`. For example `${payload.int_value}i`."""
  35. write_syntax.label:
  36. """Write Syntax"""
  37. action_parameters.label:
  38. """Action Parameters"""
  39. action_parameters.desc:
  40. """Additional parameters specific to this action type"""
  41. connector.label:
  42. """GreptimeDB Connector"""
  43. connector.desc:
  44. """GreptimeDB Connector Configs"""
  45. greptimedb_action.label:
  46. """GreptimeDB Action"""
  47. greptimedb_action.desc:
  48. """Action to interact with a GreptimeDB connector"""
  49. }