jetstack / jetstack/version-checker

[FEATURE] Support EOL Metrics

Open
#371 0 comments 0 reactions 1 assignee Claimed by @maria-reynoso View on GitHub
enhancement
Dominant language
Go
Stars
778
Forks
82
Avg merge
2m
Merged PRs (30d)
3

Description

**Is your feature request related to a problem? Please describe.**
Whilst we expose metrics for the latest container images, engineers may need or what to know if and when the version of deployed components are becoming End of Life

**Describe the solution you'd like**
By utilising the data/api available via https://endoflife.date/docs/api - we would expose multiple metrics to allow engineering teams to discover if/when their product/tool is becoming unsupported.

Suggestive metrics would be:
`version_checker_is_endoflife` as a binary (1 = Yes, 0=No)
`version_checker_endoflife_timestamp` as timestamp of when this component will be out of support

As End of Life product names and container image names may not match, and may not use tags (Digest's or Internal generated tags) We may need to allow for overriding of these via new pod annotations, some suggestions may be as follows:

```
eol-product.version-checker.io/dind=docker-engine # the End of Life Product name
eol-cycle.version-checker/dind=28.1 # Stating which Major/Minor release - however this may be a "stable", "rapid",
```

**Describe alternatives you've considered**
The EndofLife Project provide the static computed data in json format disocverable here, it may be that we look to embed this into version-checker: E.G: https://github.com/endoflife-date/release-data/blob/0984617d58755a26f68adabf6f6ad3755a6b2315/releases/angular.json

**Additional context**

---

**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 prioritise.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.