DeployBoard / DeployBoard/deployboard-python

Track Duration

未關閉
#25 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement web
主要語言
Python
星號
10
分支
1
PR 合併指標
30 天內沒有已合併 PR

描述

We would like to provide build/deploy/pipeline duration as a metric on the Analytics page. I picture a few ways that this could work.

Initially we could crudely get the duration from getting the 'Deployed' status timestamp and subtracting the 'Deploying' status timestamp from the matching Application/Service/Environment/Version. This would not require any schema changes, or updating anything besides the specific query on the Analytics page.

Since I think this call will get expensive over time, the other option we have is to make this calculation as part of the `/deploy` endpoint. This would allow us to store the pre-computed duration in the log, and possible also in the service if we want to display the value on the Dashboard. I think this is the better long term play, but perhaps we can work this as a future ticket since I'd like to do a bit more research.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

從 Analytics page 的 query 和 /deploy endpoint 開始,接著追蹤相符的 Application/Service/Environment/Version 之 Deployed 與 Deploying 狀態時間戳。比較 query 時計算與在 log 或 service 中儲存預先計算的 duration。完成的標準是 Analytics page 公開 build、deploy 或 pipeline duration,並採用有文件記錄的方法及適當的驗證。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
analytics, devops
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。