springboot.conf 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. # netdata python.d.plugin configuration for springboot
  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. # update_every: 1
  22. # priority controls the order of charts at the netdata dashboard.
  23. # Lower numbers move the charts towards the top of the page.
  24. # If unset, the default for python.d.plugin is used.
  25. # priority: 60000
  26. # penalty indicates whether to apply penalty to update_every in case of failures.
  27. # Penalty will increase every 5 failed updates in a row. Maximum penalty is 10 minutes.
  28. # penalty: yes
  29. # autodetection_retry sets the job re-check interval in seconds.
  30. # The job is not deleted if check fails.
  31. # Attempts to start the job are made once every autodetection_retry.
  32. # This feature is disabled by default.
  33. # autodetection_retry: 0
  34. # ----------------------------------------------------------------------
  35. # JOBS (data collection sources)
  36. #
  37. # Any number of jobs is supported.
  38. #
  39. # All python.d.plugin JOBS (for all its modules) support a set of
  40. # predefined parameters. These are:
  41. #
  42. # job_name:
  43. # name: myname # the JOB's name as it will appear at the
  44. # # dashboard (by default is the job_name)
  45. # # JOBs sharing a name are mutually exclusive
  46. # update_every: 1 # the JOB's data collection frequency
  47. # priority: 60000 # the JOB's order on the dashboard
  48. # penalty: yes # the JOB's penalty
  49. # autodetection_retry: 0 # the JOB's re-check interval in seconds
  50. #
  51. # Additionally to the above, this plugin also supports the following:
  52. #
  53. # url: 'http://127.0.0.1/metrics' # the URL of the spring boot actuator metrics
  54. #
  55. # if the URL is password protected, the following are supported:
  56. #
  57. # user: 'username'
  58. # pass: 'password'
  59. #
  60. # defaults:
  61. # [chart_id]: true | false # enables/disables default charts, defaults true.
  62. # extras: {} # defines extra charts to monitor, please see the example below
  63. # - id: [chart_id]
  64. # options: {}
  65. # lines: []
  66. #
  67. # If all defaults is disabled and no extra charts are defined, this module will disable itself, as it has no data to
  68. # collect.
  69. #
  70. # Configuration example
  71. # ---------------------
  72. # example:
  73. # name: 'example'
  74. # url: 'http://localhost:8080/metrics'
  75. # defaults:
  76. # response_code: true
  77. # threads: true
  78. # gc_time: true
  79. # gc_ope: true
  80. # heap: false
  81. # extras:
  82. # - id: 'heap'
  83. # options: { title: 'Heap Memory Usage', units: 'KB', family: 'heap memory', context: 'springboot.heap', charttype: 'stacked' }
  84. # lines:
  85. # - { dimension: 'mem_free', name: 'free'}
  86. # - { dimension: 'mempool_eden_used', name: 'eden', algorithm: 'absolute', multiplier: 1, divisor: 1}
  87. # - { dimension: 'mempool_survivor_used', name: 'survivor', algorithm: 'absolute', multiplier: 1, divisor: 1}
  88. # - { dimension: 'mempool_tenured_used', name: 'tenured', algorithm: 'absolute', multiplier: 1, divisor: 1}
  89. # - id: 'heap_eden'
  90. # options: { title: 'Eden Memory Usage', units: 'KB', family: 'heap memory', context: 'springboot.heap_eden', charttype: 'area' }
  91. # lines:
  92. # - { dimension: 'mempool_eden_used', name: 'used'}
  93. # - { dimension: 'mempool_eden_committed', name: 'committed'}
  94. # - id: 'heap_survivor'
  95. # options: { title: 'Survivor Memory Usage', units: 'KB', family: 'heap memory', context: 'springboot.heap_survivor', charttype: 'area' }
  96. # lines:
  97. # - { dimension: 'mempool_survivor_used', name: 'used'}
  98. # - { dimension: 'mempool_survivor_committed', name: 'committed'}
  99. # - id: 'heap_tenured'
  100. # options: { title: 'Tenured Memory Usage', units: 'KB', family: 'heap memory', context: 'springboot.heap_tenured', charttype: 'area' }
  101. # lines:
  102. # - { dimension: 'mempool_tenured_used', name: 'used'}
  103. # - { dimension: 'mempool_tenured_committed', name: 'committed'}
  104. local:
  105. name: 'local'
  106. url: 'http://localhost:8080/metrics'
  107. local_ip:
  108. name: 'local'
  109. url: 'http://127.0.0.1:8080/metrics'