Skip to content

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

@Candicepan

Description

@Candicepan

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    OSCPSecretFlow Open Source Contribution PlanchallengeSecretFlow Open Source Contribution Plan

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    In Review
    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions