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

通过普罗米采集workflow框架的运行状态 #16

Open
song-git opened this issue Aug 30, 2023 · 1 comment
Open

通过普罗米采集workflow框架的运行状态 #16

song-git opened this issue Aug 30, 2023 · 1 comment

Comments

@song-git
Copy link

hello,请问这个项目目前还在维护吗?从已有的代码看,这里提供了一些测量值的通用定义,和一个示例的PrometheusExporter。后续有考虑增加对workflow框架的一些通用状态的监控吗?例如:

  1. worker线程的使用情况趋势(空闲、阻塞)
  2. 任务耗时统计
  3. 累计执行任务数
@holmes1412
Copy link
Contributor

你好,这个项目还在维护的。其实这个项目比较小,主要的几个功能:

  • 收集:线程安全的var
  • 上报:prometheus格式
  • 统计:目前PrometheusExporter只是示例,实际上这个项目还没有为Workflow做任何内部的统计

前两部分也已经作为srpc项目的子模块了:srpc/src/var,且srpc对RPC这种特定场景做了网络相关的数据统计(比如耗时、请求包大小等)。

由于统计需要有时机,在srpc里做了埋点,这个是Workflow里没有的。所以Workflow内部暂时没有这些监控状态的,短期内也不太可能会加到master分支的功能上。也许后续有空我们可以调研一下,把带这些内部功能的Workflow作为一个debug分支。

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

No branches or pull requests

2 participants