KusciaTask 系统资源指标采集、暴露及统一导出
此 ISSUE 为 [隐语开源共建计划(SecretFlow Open Source Contribution Plan,简称 SF OSCP)Phase 6 任务 ISSUE,欢迎社区开发者参与共建~
- 认领前,辛苦确认是否完成[报名](https://studio.secretflow.com/activity/rkub4eryy7g3vmn/detail
- 更多任务,可查看 「OSCP Phase6 Season of Dev」Project
This ISSUE is one of the tasks of the [SecretFlow Open Source Contribution Plan (referred to as SF OSCP) Phase 6. Welcome to join us in building it together!
- Before claiming a task, please make sure you have signed up.
- For more tasks, you can check the "OSCP Phase6 Season of Dev" Project.
任务介绍
- 任务名称:KusciaTask 系统资源指标采集、暴露及统一导出
- 方向:Kuscia
- 任务难度:挑战🌟🌟🌟
- 任务期望完成时间:7-8 周
任务描述
该任务旨在监控所有KusciaTask(runC)在指定时间间隔内的系统资源使用情况,通过prometheus暴露指标,并统一导出到metricexporter模块。
功能需求
- 获取所有 KusciaTask 的接收字节数和发送字节数、接收带宽和发送带宽;
- 获取所有 KusciaTask 的CPU usage、Memory usage、Disk IO、Inode数;
- 将 container 和对应的 KusciaTask 关联起来;
- 通过prometheus暴露指标收集端点;
- 统一导出到metricexporter模块。
- 完成开发后,关联该 ISSUE 并提交代码至 https://github.com/secretflow/kuscia/;
- 代码规范:https://github.com/uber-go/guide/blob/master/style.md;
能力要求
- 熟悉 Golang
- 熟悉 K8s CRI、 Containerd
- 熟悉 kuscia 的 runC、metricexprter
give it to me
give it to me
I have read the CLA Document and I hereby sign the CLA
由于您未能在规定时间内完成任务,该任务已重新开放认领。如需继续完成,请重新认领;同时也欢迎其他开发者参与认领。\n\nAs the task was not completed within the specified time, it has been unassigned for claiming. If you wish to continue working on it, please reclaim the task. Other developers are also welcome to claim it.
exyb give it to me
恭喜成功🏅认领 @exyb