arthas特殊用法

2023-11-25 12:29:28 浏览数 (2)

# arthas特殊用法

官方issue中提供的特殊用法:https://github.com/alibaba/arthas/issues/71open in new window

idea插件:arthas ideaopen in new window

# mvc项目获取spring配置

代码语言:javascript复制
watch org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter invokeHandlerMethod '{target.getApplicationContext().getEnvironment().getProperty("spring.datasource.url")}'  -n 5  -x 3

# feign获取请求url

代码语言:javascript复制
watch feign.Client$Default execute '{params,returnObj,throwExp}'  -n 5  -x 3 

0 人点赞