metadata.yaml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. plugin_name: python.d.plugin
  2. modules:
  3. - meta:
  4. plugin_name: python.d.plugin
  5. module_name: gearman
  6. monitored_instance:
  7. name: Gearman
  8. link: "http://gearman.org/"
  9. categories:
  10. - data-collection.distributed-computing-systems
  11. icon_filename: "gearman.png"
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ""
  17. keywords:
  18. - gearman
  19. - gearman job server
  20. most_popular: false
  21. overview:
  22. data_collection:
  23. metrics_description: "Monitor Gearman metrics for proficient system task distribution. Track job counts, worker statuses, and queue lengths for effective distributed task management."
  24. method_description: "This collector connects to a Gearman instance via either TCP or unix socket."
  25. supported_platforms:
  26. include: []
  27. exclude: []
  28. multi_instance: true
  29. additional_permissions:
  30. description: ""
  31. default_behavior:
  32. auto_detection:
  33. description: "When no configuration file is found, the collector tries to connect to TCP/IP socket: localhost:4730."
  34. limits:
  35. description: ""
  36. performance_impact:
  37. description: ""
  38. setup:
  39. prerequisites:
  40. list:
  41. - title: "Socket permissions"
  42. description: The gearman UNIX socket should have read permission for user netdata.
  43. configuration:
  44. file:
  45. name: python.d/gearman.conf
  46. options:
  47. description: |
  48. There are 2 sections:
  49. * Global variables
  50. * One or more JOBS that can define multiple different instances to monitor.
  51. 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.
  52. Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
  53. Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
  54. folding:
  55. title: "Config options"
  56. enabled: true
  57. list:
  58. - name: update_every
  59. description: Sets the default data collection frequency.
  60. default_value: 5
  61. required: false
  62. - name: priority
  63. description: Controls the order of charts at the netdata dashboard.
  64. default_value: 60000
  65. required: false
  66. - name: autodetection_retry
  67. description: Sets the job re-check interval in seconds.
  68. default_value: 0
  69. required: false
  70. - name: penalty
  71. description: Indicates whether to apply penalty to update_every in case of failures.
  72. default_value: yes
  73. required: false
  74. - name: name
  75. description: Job name. This value will overwrite the `job_name` value. JOBS with the same name are mutually exclusive. Only one of them will be allowed running at any time. This allows autodetection to try several alternatives and pick the one that works.
  76. default_value: ""
  77. required: false
  78. - name: host
  79. description: URL or IP where gearman is running.
  80. default_value: "localhost"
  81. required: false
  82. - name: port
  83. description: Port of URL or IP where gearman is running.
  84. default_value: "4730"
  85. required: false
  86. - name: tls
  87. description: Use tls to connect to gearman.
  88. default_value: "false"
  89. required: false
  90. - name: cert
  91. description: Provide a certificate file if needed to connect to a TLS gearman instance.
  92. default_value: ""
  93. required: false
  94. - name: key
  95. description: Provide a key file if needed to connect to a TLS gearman instance.
  96. default_value: ""
  97. required: false
  98. examples:
  99. folding:
  100. enabled: true
  101. title: "Config"
  102. list:
  103. - name: Local gearman service
  104. description: A basic host and port gearman configuration for localhost.
  105. folding:
  106. enabled: false
  107. config: |
  108. localhost:
  109. name: 'local'
  110. host: 'localhost'
  111. port: 4730
  112. - name: Multi-instance
  113. description: |
  114. > **Note**: When you define multiple jobs, their names must be unique.
  115. Collecting metrics from local and remote instances.
  116. config: |
  117. localhost:
  118. name: 'local'
  119. host: 'localhost'
  120. port: 4730
  121. remote:
  122. name: 'remote'
  123. host: '192.0.2.1'
  124. port: 4730
  125. troubleshooting:
  126. problems:
  127. list: []
  128. alerts:
  129. - name: gearman_workers_queued
  130. link: https://github.com/netdata/netdata/blob/master/health/health.d/gearman.conf
  131. metric: gearman.single_job
  132. info: average number of queued jobs over the last 10 minutes
  133. metrics:
  134. folding:
  135. title: Metrics
  136. enabled: false
  137. description: ""
  138. availability: []
  139. scopes:
  140. - name: global
  141. description: "These metrics refer to the entire monitored application."
  142. labels: []
  143. metrics:
  144. - name: gearman.total_jobs
  145. description: Total Jobs
  146. unit: "Jobs"
  147. chart_type: line
  148. dimensions:
  149. - name: Pending
  150. - name: Running
  151. - name: gearman job
  152. description: "Metrics related to Gearman jobs. Each job produces its own set of the following metrics."
  153. labels: []
  154. metrics:
  155. - name: gearman.single_job
  156. description: "{job_name}"
  157. unit: "Jobs"
  158. chart_type: stacked
  159. dimensions:
  160. - name: Pending
  161. - name: Idle
  162. - name: Runnning