11 Feb 2025 01:40 PM
Hi,
I am trying set up a query for jvm gc.collection_time & gc.collection_count.
timeseries avg(dt.runtime.jvm.gc.collection_time), by: { host.name }, filter: { (host.name == xxxx)}
timeseries avg(dt.runtime.jvm.gc.collection_count), by: { host.name }, filter: { (host.name == xxxx)}
My value are not matching when check from comand line using jstat
garbage collection count 70164
garbage collection time 1182.307
where as in dyntrace the value are not even close
17 Feb 2025 08:58 AM
hiya,
Looking with your timeseries metric configuration, its understood that you are using the average to calculate the GC count and time. whereas with the jstat command it will be more of sum or the sum of samples. So, would recommend to change the aggregation to sum and validate once.
timeseries sum instead of timeseries avg
Thanks
17 Feb 2025 03:57 PM
We tried sum but the value is still not matching