[OSCP]feat:add kuscia task Related observational indicators #447
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
任务描述
该任务旨在监控所有KusciaTask(runC)在指定时间间隔内的系统资源使用情况,通过prometheus暴露指标,并统一导出到metricexporter模块。
功能需求
获取所有 KusciaTask 的接收字节数和发送字节数、接收带宽和发送带宽;
获取所有 KusciaTask 的CPU usage、Memory usage、Disk IO、Inode数;
将 container 和对应的 KusciaTask 关联起来;
通过prometheus暴露指标收集端点;
统一导出到metricexporter模块。
完成开发后,关联该 ISSUE 并提交代码至 https://github.com/secretflow/kuscia/;