metadata.yaml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. plugin_name: python.d.plugin
  2. modules:
  3. - meta:
  4. plugin_name: python.d.plugin
  5. module_name: ipfs
  6. monitored_instance:
  7. name: IPFS
  8. link: "https://ipfs.tech/"
  9. categories:
  10. - data-collection.storage-mount-points-and-filesystems
  11. icon_filename: "ipfs.svg"
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ""
  17. keywords: []
  18. most_popular: false
  19. overview:
  20. data_collection:
  21. metrics_description: "This collector monitors IPFS server metrics about its quality and performance."
  22. method_description: "It connects to an http endpoint of the IPFS server to collect the metrics"
  23. supported_platforms:
  24. include: []
  25. exclude: []
  26. multi_instance: true
  27. additional_permissions:
  28. description: ""
  29. default_behavior:
  30. auto_detection:
  31. description: "If the endpoint is accessible by the Agent, netdata will autodetect it"
  32. limits:
  33. description: |
  34. Calls to the following endpoints are disabled due to IPFS bugs:
  35. /api/v0/stats/repo (https://github.com/ipfs/go-ipfs/issues/3874)
  36. /api/v0/pin/ls (https://github.com/ipfs/go-ipfs/issues/7528)
  37. performance_impact:
  38. description: ""
  39. setup:
  40. prerequisites:
  41. list: []
  42. configuration:
  43. file:
  44. name: "python.d/ipfs.conf"
  45. options:
  46. description: |
  47. There are 2 sections:
  48. * Global variables
  49. * One or more JOBS that can define multiple different instances to monitor.
  50. The following options can be defined globally: priority, penalty, autodetection_retry, update_every, but can also be defined per JOB to override the global values.
  51. Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
  52. Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
  53. folding:
  54. title: ""
  55. enabled: true
  56. list:
  57. - name: update_every
  58. description: Sets the default data collection frequency.
  59. default_value: 5
  60. required: false
  61. - name: priority
  62. description: Controls the order of charts at the netdata dashboard.
  63. default_value: 60000
  64. required: false
  65. - name: autodetection_retry
  66. description: Sets the job re-check interval in seconds.
  67. default_value: 0
  68. required: false
  69. - name: penalty
  70. description: Indicates whether to apply penalty to update_every in case of failures.
  71. default_value: yes
  72. required: false
  73. - name: name
  74. description: The JOB's name as it will appear at the dashboard (by default is the job_name)
  75. default_value: job_name
  76. required: false
  77. - name: url
  78. description: URL to the IPFS API
  79. default_value: no
  80. required: true
  81. - name: repoapi
  82. description: Collect repo metrics.
  83. default_value: no
  84. required: false
  85. - name: pinapi
  86. description: Set status of IPFS pinned object polling.
  87. default_value: no
  88. required: false
  89. examples:
  90. folding:
  91. enabled: true
  92. title: "Config"
  93. list:
  94. - name: Basic (default out-of-the-box)
  95. description: A basic example configuration, one job will run at a time. Autodetect mechanism uses it by default.
  96. folding:
  97. enabled: false
  98. config: |
  99. localhost:
  100. name: 'local'
  101. url: 'http://localhost:5001'
  102. repoapi: no
  103. pinapi: no
  104. - name: Multi-instance
  105. description: |
  106. > **Note**: When you define multiple jobs, their names must be unique.
  107. Collecting metrics from local and remote instances.
  108. config: |
  109. localhost:
  110. name: 'local'
  111. url: 'http://localhost:5001'
  112. repoapi: no
  113. pinapi: no
  114. remote_host:
  115. name: 'remote'
  116. url: 'http://192.0.2.1:5001'
  117. repoapi: no
  118. pinapi: no
  119. troubleshooting:
  120. problems:
  121. list: []
  122. alerts:
  123. - name: ipfs_datastore_usage
  124. link: https://github.com/netdata/netdata/blob/master/health/health.d/ipfs.conf
  125. metric: ipfs.repo_size
  126. info: IPFS datastore utilization
  127. metrics:
  128. folding:
  129. title: Metrics
  130. enabled: false
  131. description: ""
  132. availability: []
  133. scopes:
  134. - name: global
  135. description: "These metrics refer to the entire monitored application."
  136. labels: []
  137. metrics:
  138. - name: ipfs.bandwidth
  139. description: IPFS Bandwidth
  140. unit: "kilobits/s"
  141. chart_type: line
  142. dimensions:
  143. - name: in
  144. - name: out
  145. - name: ipfs.peers
  146. description: IPFS Peers
  147. unit: "peers"
  148. chart_type: line
  149. dimensions:
  150. - name: peers
  151. - name: ipfs.repo_size
  152. description: IPFS Repo Size
  153. unit: "GiB"
  154. chart_type: area
  155. dimensions:
  156. - name: avail
  157. - name: size
  158. - name: ipfs.repo_objects
  159. description: IPFS Repo Objects
  160. unit: "objects"
  161. chart_type: line
  162. dimensions:
  163. - name: objects
  164. - name: pinned
  165. - name: recursive_pins