metadata.yaml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. # yamllint disable rule:line-length
  2. ---
  3. - &graphexport
  4. id: 'export-graphite'
  5. meta: &meta
  6. name: 'Graphite'
  7. link: 'https://graphite.readthedocs.io/en/latest/'
  8. categories:
  9. - export
  10. icon_filename: 'graphite.png'
  11. keywords:
  12. - exporter
  13. - graphite
  14. - remote write
  15. - time series
  16. overview:
  17. exporter_description: |
  18. Use the Graphite connector for the exporting engine to archive your Netdata metrics to Graphite providers for long-term storage,
  19. further analysis, or correlation with data from other sources.
  20. exporter_limitations: ''
  21. setup:
  22. prerequisites:
  23. list:
  24. - title: ''
  25. description: |
  26. - You have already installed Netdata and Graphite.
  27. configuration:
  28. file:
  29. name: 'exporting.conf'
  30. options:
  31. description: 'The following options can be defined for this exporter.'
  32. folding:
  33. title: 'Config options'
  34. enabled: true
  35. list:
  36. - name: 'enabled'
  37. default_value: 'no'
  38. description: 'Enables or disables an exporting connector instance (yes|no).'
  39. required: true
  40. - name: 'destination'
  41. default_value: 'no'
  42. description: 'Accepts a space separated list of hostnames, IPs (IPv4 and IPv6) and ports to connect to. Netdata will use the first available to send the metrics.'
  43. required: true
  44. detailed_description: |
  45. The format of each item in this list, is: [PROTOCOL:]IP[:PORT].
  46. - PROTOCOL can be udp or tcp. tcp is the default and only supported by the current exporting engine.
  47. - IP can be XX.XX.XX.XX (IPv4), or [XX:XX...XX:XX] (IPv6). For IPv6 you can to enclose the IP in [] to separate it from the port.
  48. - PORT can be a number of a service name. If omitted, the default port for the exporting connector will be used.
  49. Example IPv4:
  50. ```yaml
  51. destination = 10.11.14.2:2003 10.11.14.3:4242 10.11.14.4:2003
  52. ```
  53. Example IPv6 and IPv4 together:
  54. ```yaml
  55. destination = [ffff:...:0001]:2003 10.11.12.1:2003
  56. ```
  57. When multiple servers are defined, Netdata will try the next one when the previous one fails.
  58. - name: 'username'
  59. default_value: 'my_username'
  60. description: 'Username for HTTP authentication'
  61. required: false
  62. - name: 'password'
  63. default_value: 'my_password'
  64. description: 'Password for HTTP authentication'
  65. required: false
  66. - name: 'data source'
  67. default_value: ''
  68. description: 'Selects the kind of data that will be sent to the external database. (as collected|average|sum)'
  69. required: false
  70. - name: 'hostname'
  71. default_value: '[global].hostname'
  72. description: 'The hostname to be used for sending data to the external database server.'
  73. required: false
  74. - name: 'prefix'
  75. default_value: 'netdata'
  76. description: 'The prefix to add to all metrics.'
  77. required: false
  78. - name: 'update every'
  79. default_value: '10'
  80. description: |
  81. Frequency of sending sending data to the external database, in seconds.
  82. required: false
  83. detailed_description: |
  84. Netdata will add some randomness to this number, to prevent stressing the external server when many Netdata servers
  85. send data to the same database. This randomness does not affect the quality of the data, only the time they are sent.
  86. - name: 'buffer on failures'
  87. default_value: '10'
  88. description: |
  89. The number of iterations (`update every` seconds) to buffer data, when the external database server is not available.
  90. required: false
  91. detailed_description: |
  92. If the server fails to receive the data after that many failures, data loss on the connector instance is expected (Netdata will also log it).
  93. - name: 'timeout ms'
  94. default_value: '20000'
  95. description: 'The timeout in milliseconds to wait for the external database server to process the data.'
  96. required: false
  97. - name: 'send hosts matching'
  98. default_value: 'localhost *'
  99. description: |
  100. Hosts filter. Determines which hosts will be sent to the external database. The syntax is [simple patterns](https://github.com/netdata/netdata/tree/master/libnetdata/simple_pattern#simple-patterns).
  101. required: false
  102. detailed_description: |
  103. Includes one or more space separated patterns, using * as wildcard (any number of times within each pattern).
  104. The patterns are checked against the hostname (the localhost is always checked as localhost), allowing us to
  105. filter which hosts will be sent to the external database when this Netdata is a central Netdata aggregating multiple hosts.
  106. A pattern starting with `!` gives a negative match. So to match all hosts named `*db*` except hosts containing `*child*`,
  107. use `!*child* *db*` (so, the order is important: the first pattern matching the hostname will be used - positive or negative).
  108. - name: 'send charts matching'
  109. default_value: '*'
  110. description: |
  111. One or more space separated patterns (use * as wildcard) checked against both chart id and chart name.
  112. required: false
  113. detailed_description: |
  114. A pattern starting with ! gives a negative match. So to match all charts named apps.* except charts ending in *reads,
  115. use !*reads apps.* (so, the order is important: the first pattern matching the chart id or the chart name will be used,
  116. positive or negative). There is also a URL parameter filter that can be used while querying allmetrics. The URL parameter
  117. has a higher priority than the configuration option.
  118. - name: 'send names instead of ids'
  119. default_value: ''
  120. description: 'Controls the metric names Netdata should send to the external database (yes|no).'
  121. required: false
  122. detailed_description: |
  123. Netdata supports names and IDs for charts and dimensions. Usually IDs are unique identifiers as read by the system and names
  124. are human friendly labels (also unique). Most charts and metrics have the same ID and name, but in several cases they are
  125. different : disks with device-mapper, interrupts, QoS classes, statsd synthetic charts, etc.
  126. - name: 'send configured labels'
  127. default_value: ''
  128. description: 'Controls if host labels defined in the `[host labels]` section in `netdata.conf` should be sent to the external database (yes|no).'
  129. required: false
  130. - name: 'send automatic labels'
  131. default_value: ''
  132. description: 'Controls if automatically created labels, like `_os_name` or `_architecture` should be sent to the external database (yes|no).'
  133. required: false
  134. examples:
  135. folding:
  136. enabled: true
  137. title: ''
  138. list:
  139. - name: 'Example configuration'
  140. folding:
  141. enabled: false
  142. description: 'Basic configuration'
  143. config: |
  144. [graphite:netdata]
  145. enabled = yes
  146. destination = localhost:2003
  147. - name: 'Configuration with HTTPS and HTTP authentication'
  148. folding:
  149. enabled: false
  150. description: 'Add `:https` modifier to the connector type if you need to use the TLS/SSL protocol. For example: `remote_write:https:my_instance`.'
  151. config: |
  152. [graphite:netdata]
  153. enabled = yes
  154. destination = localhost:2003
  155. username = my_username
  156. password = my_password
  157. - name: 'Detailed Configuration for a remote, secure host'
  158. folding:
  159. enabled: false
  160. description: 'Add `:https` modifier to the connector type if you need to use the TLS/SSL protocol. For example: `remote_write:https:my_instance`.'
  161. config: |
  162. [graphite:https:netdata]
  163. enabled = yes
  164. username = my_username
  165. password = my_password
  166. destination = 10.10.1.114:2003
  167. # data source = average
  168. # prefix = netdata
  169. # hostname = my_hostname
  170. # update every = 10
  171. # buffer on failures = 10
  172. # timeout ms = 20000
  173. # send names instead of ids = yes
  174. # send charts matching = *
  175. # send hosts matching = localhost *
  176. - <<: *graphexport
  177. id: 'export-blueflood'
  178. meta:
  179. <<: *meta
  180. name: Blueflood
  181. link: http://blueflood.io/
  182. icon_filename: 'blueflood.png'
  183. keywords:
  184. - export
  185. - Blueflood
  186. - graphite
  187. - <<: *graphexport
  188. id: 'export-influxdb'
  189. meta:
  190. <<: *meta
  191. name: InfluxDB
  192. link: https://www.influxdata.com/
  193. icon_filename: 'influxdb.svg'
  194. keywords:
  195. - InfluxDB
  196. - Influx
  197. - export
  198. - graphite
  199. - <<: *graphexport
  200. id: 'export-kairosdb'
  201. meta:
  202. <<: *meta
  203. name: KairosDB
  204. link: https://kairosdb.github.io/
  205. icon_filename: 'kairos.png'
  206. keywords:
  207. - KairosDB
  208. - kairos
  209. - export
  210. - graphite