Skip to content

Add metrics for virtual thread #14949

@xiangtianyu

Description

@xiangtianyu

Is your feature request related to a problem? Please describe.

I want to monitor the virtual thread and platform thread seperately

Describe the solution you'd like

We may add metrics for virtual thread or add label to seperate different kind of thread
Now we have JVM_THREAD_DAEMON and JVM_THREAD_STATE, is it possible to add a new label JVM_THREAD_TYPE or "is_virtual"?

Describe alternatives you've considered

No response

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds triageNew issue that requires triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions