Closed
Description
- Support spring boot endpoint, provide a way to integrate Arthas.
- When user send request to
endpoint/arthas/attach
,arthas-spring-boot-starter
dynamic attach itself. - The user can visit Arthas Web Console through the endpoint.
starte的工作方式:
- 应用本身依赖 arthas-agent.jar
- 利用
ByteBuddyAgent.install()
取得Instrumentation
对象,然后调用 AgentBootstrap 来初始化 - 允许用户在spring env里配置变量,比如 arthas.home , arthas.tunnnelServer 等
- arthas zip 包怎么获取到? 修复 arthas-packing里的 jar,让它包含整个 arthas zip?
Activity
superheizai commentedon Feb 15, 2019
Great idea
VancySavoki commentedon Dec 27, 2019
实现类似 bistoury,但 bistoury 的实现方案略重了。
arthas-spring-boot-starter 是个不错的提议,我之前也想做这个,但一直没有时间。如果官方能支持就最好了
Roger3581321 commentedon Jan 28, 2020
麻烦问一下这个功能点是否都实现,还有哪里需要开发?
add binary files in arthas-packaging jar. #444