couchdb.conf 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. # netdata python.d.plugin configuration for couchdb
  2. #
  3. # This file is in YaML format. Generally the format is:
  4. #
  5. # name: value
  6. #
  7. # There are 2 sections:
  8. # - global variables
  9. # - one or more JOBS
  10. #
  11. # JOBS allow you to collect values from multiple sources.
  12. # Each source will have its own set of charts.
  13. #
  14. # JOB parameters have to be indented (using spaces only, example below).
  15. # ----------------------------------------------------------------------
  16. # Global Variables
  17. # These variables set the defaults for all JOBs, however each JOB
  18. # may define its own, overriding the defaults.
  19. # update_every sets the default data collection frequency.
  20. # If unset, the python.d.plugin default is used.
  21. # By default, CouchDB only updates its stats every 10 seconds.
  22. update_every: 10
  23. # priority controls the order of charts at the netdata dashboard.
  24. # Lower numbers move the charts towards the top of the page.
  25. # If unset, the default for python.d.plugin is used.
  26. # priority: 60000
  27. # penalty indicates whether to apply penalty to update_every in case of failures.
  28. # Penalty will increase every 5 failed updates in a row. Maximum penalty is 10 minutes.
  29. # penalty: yes
  30. # autodetection_retry sets the job re-check interval in seconds.
  31. # The job is not deleted if check fails.
  32. # Attempts to start the job are made once every autodetection_retry.
  33. # This feature is disabled by default.
  34. # autodetection_retry: 0
  35. # ----------------------------------------------------------------------
  36. # JOBS (data collection sources)
  37. #
  38. # The default JOBS share the same *name*. JOBS with the same name
  39. # are mutually exclusive. Only one of them will be allowed running at
  40. # any time. This allows autodetection to try several alternatives and
  41. # pick the one that works.
  42. #
  43. # Any number of jobs is supported.
  44. #
  45. # All python.d.plugin JOBS (for all its modules) support a set of
  46. # predefined parameters. These are:
  47. #
  48. # job_name:
  49. # name: myname # the JOB's name as it will appear at the
  50. # # dashboard (by default is the job_name)
  51. # # JOBs sharing a name are mutually exclusive
  52. # update_every: 1 # the JOB's data collection frequency
  53. # priority: 60000 # the JOB's order on the dashboard
  54. # penalty: yes # the JOB's penalty
  55. # autodetection_retry: 0 # the JOB's re-check interval in seconds
  56. #
  57. # Additionally to the above, the couchdb plugin also supports the following:
  58. #
  59. # host: 'ipaddress' # Server ip address or hostname. Default: 127.0.0.1
  60. # port: 'port' # CouchDB port. Default: 15672
  61. # scheme: 'scheme' # http or https. Default: http
  62. # node: 'couchdb@127.0.0.1' # CouchDB node name. Same as -name vm.args argument.
  63. #
  64. # if the URL is password protected, the following are supported:
  65. #
  66. # user: 'username'
  67. # pass: 'password'
  68. #
  69. # if db-specific stats are desired, place their names in databases:
  70. # databases: 'npm-registry animaldb'
  71. #
  72. # ----------------------------------------------------------------------
  73. # AUTO-DETECTION JOBS
  74. # only one of them will run (they have the same name)
  75. #
  76. localhost:
  77. name: 'local'
  78. host: '127.0.0.1'
  79. port: '5984'
  80. node: 'couchdb@127.0.0.1'
  81. scheme: 'http'
  82. # user: 'admin'
  83. # pass: 'password'