DeployBoard / DeployBoard/deployboard-python

Track Duration

オープン
#25 コメント 0 件 リアクション 0 件 担当者 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 時の計算と、事前計算した duration を log または service に保存する方法を比較します。完了とは、Analytics page が build、deploy、または pipeline の duration を、文書化されたアプローチと適切な検証とともに公開することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
analytics, devops
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。