Arthas Spring Boot Starter ===== > Support spring boot 2 Latest Version: [View](https://search.maven.org/search?q=arthas-spring-boot-starter) Add maven dependency: ```xml com.taobao.arthas arthas-spring-boot-starter ${arthas.version} ``` When the application is started, spring will start arthas and attach its own process. ### Configuration properties For example, by configuring the tunnel server for remote management. ``` arthas.agent-id=hsehdfsfghhwertyfad arthas.tunnel-server=ws://47.75.156.201:7777/ws ``` All supported configuration: [Reference](https://github.com/alibaba/arthas/blob/master/arthas-spring-boot-starter/src/main/java/com/alibaba/arthas/spring/ArthasProperties.java) ### View Endpoint Information > Need to configure spring boot to expose endpoint: [Reference](https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-features.html#production-ready-endpoints). Assuming the endpoint port is 8080, it can be viewed via the following url. http://localhost:8080/actuator/arthas ```js { "arthasConfigMap": { "agent-id": "hsehdfsfghhwertyfad", "tunnel-server": "ws://47.75.156.201:7777/ws", } } ``` ### Non-spring boot application usage Non-Spring Boot applications can be used in the following ways. ```xml com.taobao.arthas arthas-agent-attach ${arthas.version} com.taobao.arthas arthas-packaging ${arthas.version} ``` ```java import com.taobao.arthas.agent.attach.ArthasAgent; public class ArthasAttachExample { public static void main(String[] args) { ArthasAgent.attach(); } } ```