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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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