Java essay Java essay
首页
  • Java基础
  • Java进阶
  • 设计模式
  • 多线程
  • Java你不知道的小事
  • Spring初识
  • Spring进阶
  • SpringBoot基础
  • SpringBoot进阶
  • 什么是微服务
  • SpringCloud全家桶
  • Dubbo
  • SpringCloud Alibaba
  • Vue
  • 小程序
  • 博客搭建
  • 数据库
  • python
  • 大数据
  • 性能分析优化
  • 中间件
  • 云原生
  • 面试
  • 外卖霸王餐
  • 打工人的带饭生活
  • 30岁我该怎么办
友链
关于我
GitHub (opens new window)

Mr.Fire

全栈工程师
首页
  • Java基础
  • Java进阶
  • 设计模式
  • 多线程
  • Java你不知道的小事
  • Spring初识
  • Spring进阶
  • SpringBoot基础
  • SpringBoot进阶
  • 什么是微服务
  • SpringCloud全家桶
  • Dubbo
  • SpringCloud Alibaba
  • Vue
  • 小程序
  • 博客搭建
  • 数据库
  • python
  • 大数据
  • 性能分析优化
  • 中间件
  • 云原生
  • 面试
  • 外卖霸王餐
  • 打工人的带饭生活
  • 30岁我该怎么办
友链
关于我
GitHub (opens new window)
  • 性能分析工具

    • 阿里开源神器之Arthas
    • 阿里开源神器之Arthas进阶
    • SpringBoot整合Arthas
      • 1.创建Springboot项目
      • 2.添加配置
      • 3.启动项目
      • 4.进入Arthas
    • IDEA集成Arthas插件
  • 数据库性能优化

  • 性能优化

  • Java虚拟机

  • 前段性能优化

  • 性能优化
  • 性能分析工具
Mr.Fire
2022-07-22
目录

SpringBoot整合Arthas

# 1.创建Springboot项目

pom依赖:

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>com.taobao.arthas</groupId>
            <artifactId>arthas-spring-boot-starter</artifactId>
            <version>3.3.6</version>
        </dependency>
1
2
3
4
5
6
7
8
9
10

# 2.添加配置

server.port=8081
arthas.ip=127.0.0.1
arthas.agent-id=arthas_fire
arthas.tunnel-server=ws://127.0.0.1:7777/ws
1
2
3
4

# 3.启动项目

看到Arthas agent已启动,说明监控成功

# 4.进入Arthas

浏览器访问 http://localhost:8563/ (opens new window)


案例源码:https://gitee.com/firegitspace/arthas-demo.git (opens new window)

#Arthas
最后更新时间: 2024/03/15, 17:35:22
阿里开源神器之Arthas进阶
IDEA集成Arthas插件

← 阿里开源神器之Arthas进阶 IDEA集成Arthas插件→

最近更新
01
SuperBuilder
12-29
02
30岁我该怎么办
12-29
03
关于存钱
12-29
更多文章>
Theme by Vdoing | Copyright © 2021-2025 Mr.Fire | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式