Feature request: Add usage + cost info to sprite cli and api

未关闭
#82 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
cli, typescript
领域
api, cli

调研方向

从 sprite list 的表格输出以及请求中提到的现有 GET 和 LIST sprites API 端点开始。确定 CPU 使用量和成本的表示方式,然后在 CLI 显示带有总计的 CPU 和成本列,并且所有请求的端点都公开新字段后确认完成。

由索引模型根据 Issue 内容生成。

描述

feature request

As the title says. Two requests really:

  1. Add a cpu usage + cost columns to the table outputted bysprite list (and adds a total bar below the list).
  2. a usage API endpoint which includes a cost field.
  • add a cpu usage and cost field to GET and LIST sprites exisiting API endpoints

Why: It would be nice to know how much running a sprite is costing.

主要语言
MDX
星标
53
派生
5
平均合并
1 天 15 小时
30 天内合并 PR
4

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

superfly/sprites-docs 的其他 Issue

查看 superfly/sprites-docs 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。