I get these metrics by pushing the JMX data into Graphite, then use the 
non-negative derivative function on the GC ‘time’ metric.
It essentially shows the amount of change on a counter, at the specific time it 
occurred. 
 
Jeremy Branham
jb...@allstate.com

On 3/18/19, 12:06 PM, "Jeff Courtade" <courtadej...@gmail.com> wrote:

    The only way I found to track GC times was by truning on GC logging and the
    writing cronjob data collection script and graphing it in zabbix
    
    On Mon, Mar 18, 2019 at 12:34 PM Erick Erickson <erickerick...@gmail.com>
    wrote:
    
    > Attachments are pretty aggressively stripped by the apache mail server, so
    > it didn’t come through.
    >
    > That said, I’m not sure how much use just the last GC time is. What do you
    > want it for? This
    > sounds a bit like an XY problem.
    >
    > Best,
    > Erick
    >
    > > On Mar 17, 2019, at 2:43 PM, Karthik K G <kgkarthi...@gmail.com> wrote:
    > >
    > > Hi Team,
    > >
    > > I was looking for Old GC duration time metrics, but all I could find was
    > the API for this "/solr/admin/metrics?wt=json&group=jvm&prefix=gc.G1-
    > Old-Generation", but I am not sure if this is for
    > 'gc_g1_gen_o_lastgc_duration'. I tried to hookup the IP to the jconsole 
and
    > was looking for the metrics, but all I could see was the collection time
    > but not last GC duration as attached in the screenshot. Can you please 
help
    > here with finding the correct metrics. I strongly believe we are not
    > capturing this information. Please correct me if I am wrong.
    > >
    > > Thanks & Regards,
    > > Karthik
    >
    >
    

Reply via email to