youtubebeat/vendor/github.com/elastic/beats/metricbeat/modules.d/jolokia.yml.disabled

33 lines
981 B
Text
Raw Normal View History

2018-11-18 11:08:38 +01:00
# Module: jolokia
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/6.5/metricbeat-module-jolokia.html
- module: jolokia
#metricsets: ["jmx"]
period: 10s
hosts: ["localhost"]
namespace: "metrics"
#path: "/jolokia/?ignoreErrors=true&canonicalNaming=false"
#username: "user"
#password: "secret"
jmx.mappings:
#- mbean: 'java.lang:type=Runtime'
# attributes:
# - attr: Uptime
# field: uptime
#- mbean: 'java.lang:type=Memory'
# attributes:
# - attr: HeapMemoryUsage
# field: memory.heap_usage
# - attr: NonHeapMemoryUsage
# field: memory.non_heap_usage
# GC Metrics - this depends on what is available on your JVM
#- mbean: 'java.lang:type=GarbageCollector,name=ConcurrentMarkSweep'
# attributes:
# - attr: CollectionTime
# field: gc.cms_collection_time
# - attr: CollectionCount
# field: gc.cms_collection_count
jmx.application:
jmx.instance: