Skip to content

[Feature] Automatically weave into the thread pool without modifying the business code #8743

@Cool-Coding

Description

@Cool-Coding

Search before asking

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

Description

Currently, we must wrap the Runnable or Callable object with RunnableWrapper or CallableWrapper. when we want to pass a traceId across the thread.

java.util.concurrent.ThreadPoolExecutor is generally used in bussiness projects. Business developers won't want to change their codes when the project is weaved by apm agent. so i think it is necessary to develop a agent plugin to weave into java.util.concurrent.ThreadPoolExecutor automatically. And i have achived it in my project, it works. I want to hear your opinion. Thanks!

Use case

We provide another choice for developers and it is helpful to promote APM in a company.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

agentLanguage agent related.featureNew featurejavaJava 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