Skip to content

How to collect jvm metric: jvm_thread_state on jdk8 #12614

Answered by steverao
zhangjiabin1010 asked this question in Q&A
Discussion options

You must be logged in to vote

I want to integrate this functionality into javaagent-instrumentation.jar and write it to the attribute of jvm.thread.count metric. Where should I start? Can this functionality be achieved through extensions?

You can refer to some similar modules to achieve it in OTel Java Agent.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zhangjiabin1010
Comment options

@steverao
Comment options

Answer selected by zhangjiabin1010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants