Skip to content
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

[WIP] 提供自定义指令配置 #35

Open
3 tasks
hyj1991 opened this issue Apr 22, 2022 · 0 comments
Open
3 tasks

[WIP] 提供自定义指令配置 #35

hyj1991 opened this issue Apr 22, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@hyj1991
Copy link
Member

hyj1991 commented Apr 22, 2022

背景

目前的控制台下发指令是固定的:

image

可以更改为支持通过配置来在控制台展示和下发自定义指令。


设计

需要的改动:

  • xprofiler-console 增加 commands 配置数组
  • 前端支持通过 xprofiler-console 获取上述配置来决定进程信息页面的 commands 区域指令展示内容
  • xtransit 支持服务器的 commands 扩展实现,允许用户配置接受对应下发指令调用

验证

// TODO: 通过自定义指令扩展 Core 文件生成指令

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant