Skip to content

Commit

Permalink
track GC duration
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobin Baker committed Sep 11, 2015
1 parent e6bef25 commit 48f414e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions conf/jmxetric.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,16 @@
<mbean name="java.lang:type=GarbageCollector,name=PS MarkSweep" pname="GC" >
<attribute name="CollectionCount" type="int32" />
<attribute name="CollectionTime" type="int32" units="milliseconds"/>
<attribute name="LastGcInfo" >
<composite name="duration" pname="GC_duration" type="int32" units="milliseconds"/>
</attribute>
</mbean>
<mbean name="java.lang:type=GarbageCollector,name=PS Scavenge" pname="GC" >
<attribute name="CollectionCount" type="int32" />
<attribute name="CollectionTime" type="int32" units="milliseconds"/>
<attribute name="LastGcInfo" >
<composite name="duration" pname="GC_duration" type="int32" units="milliseconds"/>
</attribute>
</mbean>
</sample>
<ganglia hostname="dbserver20.cs.washington.edu" port="8649" mode="multicast" wireformat31x="true" />
Expand Down

0 comments on commit 48f414e

Please sign in to comment.