Hi Thanks again for keeping us updated on the progress.
About your new project, could you fill the readme and doc for the public? And write a blog(better in English) to post on skywalking.apache.org for sharing your codes? We are glad to host and promote your ideas. And to show more error details if there is some RETRANSFORMATION error, we think it is a good addition for the upstream if you want to send a pull request and share what it could log out. Sheng Wu 吴晟 Twitter, wusheng1108 Li BingLong(智能平台) <binglongli217...@sohu-inc.com> 于2021年2月1日周一 下午3:59写道: > I have finally got another idea to do this thing. > So it’ time to end this topic. > > > For People who want to enhance the ThreadPoolExecuter or other classes > used in the skywalking java agent without changing the code, the following > project is for you! > https://github.com/libinglong/skywalking-threadpool-agent > > It’s also an agent. > > > By the way, I test the disableClassFormatChanges(), but it does not work > well in some scene. > > If we want to find more error message, there is another type of listener > net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.Listener. > > For example: > > agentBuilder.type(pluginFinder.buildMatch()) > .transform(new Transformer(pluginFinder)) > > > .with(AgentBuilder.RedefinitionStrategy.RETRANSFORMATION) > // this listener is different from the next listener > .with(new RedefineListener()) > .with(new Listener()) > > > > > > >