GC time and Thread utilization

Hi Team

Where can I find the GC time and Thread utilization time or which metric captures the same?

Collection time:

timeseries collection_time=sum(dt.runtime.jvm.gc.collection_time),by:{jvm.gc.name,jvm.memory.pool.name,dt.entity.process_group_instance,process.pid}

threads

timeseries count=avg(dt.runtime.jvm.threads.count),by:{dt.entity.process_group_instance}