forked from jmxtrans/jmxtrans
-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.json
32 lines (32 loc) · 863 Bytes
/
example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"servers" : [ {
"port" : "1099",
"host" : "w2",
"queries" : [ {
"outputWriters" : [ {
"@class" : "com.googlecode.jmxtrans.model.output.StdOutWriter",
"settings" : {
}
} ],
"obj" : "java.lang:type=Memory",
"attr" : [ "HeapMemoryUsage", "NonHeapMemoryUsage" ]
}, {
"outputWriters" : [ {
"@class" : "com.googlecode.jmxtrans.model.output.StdOutWriter",
"settings" : {
}
} ],
"obj" : "java.lang:name=CMS Old Gen,type=MemoryPool",
"attr" : [ "Usage" ]
}, {
"outputWriters" : [ {
"@class" : "com.googlecode.jmxtrans.model.output.StdOutWriter",
"settings" : {
}
} ],
"obj" : "java.lang:name=ConcurrentMarkSweep,type=GarbageCollector",
"attr" : [ "LastGcInfo" ]
} ],
"numQueryThreads" : 2
} ]
}