-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
开发全新的Web UI #2145
Comments
This is your Intranet address, which no one else can access. You can post pictures for others to read. |
Launch arthas, attach to any java process , and visit http://127.0.0.1:8563/ui |
#1699 我之前整过类似的,看能否基于这个继续优化下 |
新版本的 Web UI已经合并到主干,欢迎大家试用和提出建议。 下 载: arthas-bin.zip webconsole原来的web console, 升级xterm,使用webgl,滚动非常顺滑。 web ui基于HTTP API的新UI |
需要以现代web方式,构建一个全新的UI,所有的数据结构尽量以更友好的,图形化展示。
简而言之,学生需要先熟悉下arthas的命令,比如
可以按命令里的 在线教程 跑一下。
然后看一下这个HTTP API:
利用上面的HTTP API,构建出类似下面的UI:
https://github.com/alibaba/arthas/tree/master/core/src/main/resources/com/taobao/arthas/core/http/ui
https://github.com/alibaba/arthas/blob/master/core/src/main/resources/com/taobao/arthas/core/http/index.html
web console是基于 xterm实现的,本质上是后端实现了一个web socket的服务器,可以不用关注。
参考:
The text was updated successfully, but these errors were encountered: