Skip to content

Support to customize the report period of JVM relative metrics. #10179

@IceSoda177

Description

@IceSoda177

Search before asking

  • I had searched in the issues and found no similar issues.

Apache SkyWalking Component

Java Agent (apache/skywalking-java)

What happened

We got a thread leak in micro-service and the thread count is up to 4000.
The CPU usage is very low for threads except one skywalkingAgent thread's usage is up 40%.

The JVMMetrics is collected every 1 sec, and everytime it checks all 4000 thread's status.

What you expected to happen

The JVMMetrics does not have to be collected so frequently. Maybe 2 or 3 collection in 1min is enough?

How to reproduce

Creating 4000 threads.

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

enhancementEnhancement on performance or codesgood first issueGood first issue for beginnersjavaJava agent related

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions