DeployBoard / DeployBoard/deployboard-python

Track Duration

Đang mở
#25 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement web
Ngôn ngữ chính
Python
Star
10
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.