kuscia icon indicating copy to clipboard operation
kuscia copied to clipboard

KusciaTask 系统资源指标采集、暴露及统一导出

Open Candicepan opened this issue 1 year ago • 6 comments

此 ISSUE 为 [隐语开源共建计划(SecretFlow Open Source Contribution Plan,简称 SF OSCP)Phase 6 任务 ISSUE,欢迎社区开发者参与共建~

  • 认领前,辛苦确认是否完成[报名](https://studio.secretflow.com/activity/rkub4eryy7g3vmn/detail

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.

任务介绍

  • 任务名称: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

Candicepan avatar Aug 19 '24 06:08 Candicepan

give it to me

Vancasola avatar Aug 19 '24 06:08 Vancasola

give it to me

renji555 avatar Aug 19 '24 08:08 renji555

I have read the CLA Document and I hereby sign the CLA

renji555 avatar Nov 06 '24 01:11 renji555

由于您未能在规定时间内完成任务,该任务已重新开放认领。如需继续完成,请重新认领;同时也欢迎其他开发者参与认领。\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.

github-actions[bot] avatar Mar 07 '25 06:03 github-actions[bot]

exyb give it to me

exyb avatar Oct 28 '25 02:10 exyb

恭喜成功🏅认领 @exyb

Niko-Zeng avatar Oct 30 '25 06:10 Niko-Zeng