jetstack / jetstack/version-checker

[FEATURE] expose metric for current image creation timestamp & current image available

オープン
#323 コメント 0 件 リアクション 5 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Go
スター
778
フォーク
82
平均マージ
2分
マージ済み PR(30日)
3

説明

**Is your feature request related to a problem? Please describe.**
Having the image creation timestamp as a metric would be useful and help to discover images in use that are old/abandoned, that may already be at the latest. For example, an image already at latest that was created X months/years ago - can be flagged as a potential abandoned/image that needs investigation or a new version to be built.

The second part of this is it would double as a way to know if the current image no longer exists on the repo which would be useful to avoid potential image pull errors in the future. I could see that either being implemented as separate metric (version_checker_current_is_available), or by setting the proposed image creation timestamp metric to an invalid value, like null/0 and use that as a way to detect whether the image is not available on the remote repo. #319 is somewhat related (registry accessible)

**Describe the solution you'd like**
Expose the current versions creation timestamp (queried from remote reg)

**Describe alternatives you've considered**
Trying to find another tool to handle this.

---

**Message from the maintainers**:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

No file or test is named. Start by tracing the existing image-version metrics and the remote registry lookup used by version-checker. Define how the current image creation timestamp and unavailable-image state should be represented, then verify that both cases are exposed consistently as metrics.

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

評価

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

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

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