60 lines
2.1 KiB
Plaintext
60 lines
2.1 KiB
Plaintext
[[inputs.jolokia2_agent]]
|
|
urls = ["http://localhost:8080/jolokia"]
|
|
name_prefix = "jboss."
|
|
|
|
### JVM Generic
|
|
|
|
[[inputs.jolokia2_agent.metric]]
|
|
name = "OperatingSystem"
|
|
mbean = "java.lang:type=OperatingSystem"
|
|
paths = ["ProcessCpuLoad","SystemLoadAverage","SystemCpuLoad"]
|
|
|
|
[[inputs.jolokia2_agent.metric]]
|
|
name = "jvm_runtime"
|
|
mbean = "java.lang:type=Runtime"
|
|
paths = ["Uptime"]
|
|
|
|
[[inputs.jolokia2_agent.metric]]
|
|
name = "jvm_memory"
|
|
mbean = "java.lang:type=Memory"
|
|
paths = ["HeapMemoryUsage", "NonHeapMemoryUsage", "ObjectPendingFinalizationCount"]
|
|
|
|
[[inputs.jolokia2_agent.metric]]
|
|
name = "jvm_garbage_collector"
|
|
mbean = "java.lang:name=*,type=GarbageCollector"
|
|
paths = ["CollectionTime", "CollectionCount"]
|
|
tag_keys = ["name"]
|
|
|
|
[[inputs.jolokia2_agent.metric]]
|
|
name = "jvm_memory_pool"
|
|
mbean = "java.lang:name=*,type=MemoryPool"
|
|
paths = ["Usage", "PeakUsage", "CollectionUsage"]
|
|
tag_keys = ["name"]
|
|
tag_prefix = "pool_"
|
|
|
|
### JBOSS
|
|
|
|
[[inputs.jolokia2_agent.metric]]
|
|
name = "connectors.http"
|
|
mbean = "jboss.as:https-listener=*,server=*,subsystem=undertow"
|
|
paths = ["bytesReceived","bytesSent","errorCount","requestCount"]
|
|
tag_keys = ["server","https-listener"]
|
|
|
|
[[inputs.jolokia2_agent.metric]]
|
|
name = "connectors.http"
|
|
mbean = "jboss.as:http-listener=*,server=*,subsystem=undertow"
|
|
paths = ["bytesReceived","bytesSent","errorCount","requestCount"]
|
|
tag_keys = ["server","http-listener"]
|
|
|
|
[[inputs.jolokia2_agent.metric]]
|
|
name = "datasource.jdbc"
|
|
mbean = "jboss.as:data-source=*,statistics=jdbc,subsystem=datasources"
|
|
paths = ["PreparedStatementCacheAccessCount","PreparedStatementCacheHitCount","PreparedStatementCacheMissCount"]
|
|
tag_keys = ["data-source"]
|
|
|
|
[[inputs.jolokia2_agent.metric]]
|
|
name = "datasource.pool"
|
|
mbean = "jboss.as:data-source=*,statistics=pool,subsystem=datasources"
|
|
paths = ["AvailableCount","ActiveCount","MaxUsedCount"]
|
|
tag_keys = ["data-source"]
|