Skip to content

Commit

Permalink
Merge pull request #79 from appoptics/cc/NH-33748
Browse files Browse the repository at this point in the history
NH-33748: Java: example configuration file improve formatting
  • Loading branch information
cleverchuk authored Mar 1, 2023
2 parents 0b23219 + 12efcc8 commit 5a1d24d
Showing 1 changed file with 39 additions and 22 deletions.
61 changes: 39 additions & 22 deletions custom/src/main/resources/solarwinds-apm-config.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,41 @@
{
"agent.serviceKey":"",
"agent.logging":"info",
"agent.jdbcInstAll":false,
"agent.sqlSanitize":1,

"monitor.jmx.scopes":
{
"java.lang:type=MemoryPool,*":["Usage"],
"java.lang:type=Memory":["HeapMemoryUsage", "NonHeapMemoryUsage"],
"java.lang:type=GarbageCollector,*":["CollectionTime"],
"java.lang:type=Threading":["ThreadCount"],
"java.lang:type=OperatingSystem":["ProcessCpuTime", "AvailableProcessors", "ProcessCpuLoad"],
"java.lang:type=Runtime,*":["Uptime"]
},
"monitor.jmx.enable":true,

"profiler" :
{
"enabled" : false,
"excludePackages" : ["java", "javax", "com.sun", "sun", "sunw"],
"interval" : 20
}
"agent.serviceKey": "",
"agent.logging": "info",
"agent.jdbcInstAll": false,
"agent.sqlSanitize": 1,
"monitor.jmx.scopes": {
"java.lang:type=MemoryPool,*": [
"Usage"
],
"java.lang:type=Memory": [
"HeapMemoryUsage",
"NonHeapMemoryUsage"
],
"java.lang:type=GarbageCollector,*": [
"CollectionTime"
],
"java.lang:type=Threading": [
"ThreadCount"
],
"java.lang:type=OperatingSystem": [
"ProcessCpuTime",
"AvailableProcessors",
"ProcessCpuLoad"
],
"java.lang:type=Runtime,*": [
"Uptime"
]
},
"monitor.jmx.enable": true,
"profiler": {
"enabled": false,
"excludePackages": [
"java",
"javax",
"com.sun",
"sun",
"sunw"
],
"interval": 20
}
}

0 comments on commit 5a1d24d

Please sign in to comment.