You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/04/14 15:07:35 UTC

[GitHub] [skywalking] 807801002 commented on issue #6755: Support collecting threadpool metrics by agent-core

807801002 commented on issue #6755:
URL: https://github.com/apache/skywalking/issues/6755#issuecomment-819592596


   就是想在agent-core中新建一个包,然后通过InstanceConstructorInterceptor类来拦截ThreadPoolExecutor这个类,通过onConstruct方法的objInst参数获取对应instance,开启定时器去定时采集实例对应的线程池指标(PoolSize、ActiveCount、CorePoolSize、MaximumPoolSize、TaskCount等),上报到oap-server。这个方式可行不?或者说有什么其他方式可以采集线程池指标来实现对线程池的监控?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org