influx2.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. {
  2. "about": {
  3. "trial": true,
  4. "author": {
  5. "name": "elpsyr",
  6. "email": "hellccqcq@gmail.com",
  7. "company": "",
  8. "website": "https://github.com/elpsyr"
  9. },
  10. "helpUrl": {
  11. "en_US": "https://ekuiper.org/docs/en/latest/guide/sinks/plugin/influx2.html",
  12. "zh_CN": "https://ekuiper.org/docs/zh/latest/guide/sinks/plugin/influx2.html"
  13. },
  14. "description": {
  15. "en_US": "This a sink plugin for InfluxDB2, it can be used for saving the analysis data into InfluxDB V2.X .",
  16. "zh_CN": "本插件为 InfluxDB2 的持久化插件,可以用于将分析数据存入 InfluxDB V2.X 中"
  17. }
  18. },
  19. "libs": [
  20. "github.com/influxdata/influxdb-client-go/v2@master"
  21. ],
  22. "properties": [{
  23. "name": "addr",
  24. "default": "http://192.168.100.245:8086",
  25. "optional": false,
  26. "control": "text",
  27. "type": "string",
  28. "hint": {
  29. "en_US": "The addr of the InfluxDB",
  30. "zh_CN": "InfluxDB的地址"
  31. },
  32. "label": {
  33. "en_US": "Addr",
  34. "zh_CN": "地址"
  35. }
  36. }, {
  37. "name": "measurement",
  38. "default": "test",
  39. "optional": true,
  40. "control": "text",
  41. "type": "string",
  42. "hint": {
  43. "en_US": "The measurement of the InfluxDB",
  44. "zh_CN": "InfluxDB的测量"
  45. },
  46. "label": {
  47. "en_US": "Measurement",
  48. "zh_CN": "测量"
  49. }
  50. }, {
  51. "name": "token",
  52. "default": "",
  53. "optional": false,
  54. "control": "text",
  55. "type": "string",
  56. "hint": {
  57. "en_US": "The InfluxDB api token",
  58. "zh_CN": "InfluxDB 验证 api token"
  59. },
  60. "label": {
  61. "en_US": "API Token",
  62. "zh_CN": "API Token"
  63. }
  64. }, {
  65. "name": "org",
  66. "default": "",
  67. "optional": false,
  68. "control": "text",
  69. "type": "string",
  70. "hint": {
  71. "en_US": "The InfluxDB org",
  72. "zh_CN": "InfluxDB org"
  73. },
  74. "label": {
  75. "en_US": "org",
  76. "zh_CN": "组织"
  77. }
  78. }, {
  79. "name": "bucket",
  80. "default": "",
  81. "optional": false,
  82. "control": "text",
  83. "type": "string",
  84. "hint": {
  85. "en_US": "The InfluxDB bucket",
  86. "zh_CN": "InfluxDB bucket"
  87. },
  88. "label": {
  89. "en_US": "bucket",
  90. "zh_CN": "桶"
  91. }
  92. }, {
  93. "name": "tagKey",
  94. "default": "tagKey",
  95. "optional": true,
  96. "control": "text",
  97. "type": "string",
  98. "hint": {
  99. "en_US": "The tag key of the InfluxDB",
  100. "zh_CN": "InfluxDB 的标签键"
  101. },
  102. "label": {
  103. "en_US": "Tag",
  104. "zh_CN": "标签键"
  105. }
  106. }, {
  107. "name": "tagValue",
  108. "default": "tagValue",
  109. "optional": true,
  110. "control": "text",
  111. "type": "string",
  112. "hint": {
  113. "en_US": "The tag value of the InfluxDB",
  114. "zh_CN": "InfluxDB 的标签值"
  115. },
  116. "label": {
  117. "en_US": "Tag value",
  118. "zh_CN": "标签值"
  119. }
  120. }],
  121. "node": {
  122. "category": "sink",
  123. "icon": "iconPath",
  124. "label": {
  125. "en": "InfluxDB 2",
  126. "zh": "InfluxDB 2"
  127. }
  128. }
  129. }