David-VTUK / prometheus-rancher-exporter

MIT License
7 stars 7 forks source link

Change source for Latest Rancher Version #21

Closed David-VTUK closed 1 year ago

David-VTUK commented 1 year ago

Most recent release on GitHub != the latest version as we currently maintain both 2.6.x and 2.7.x branches. For example, at time of writing https://github.com/rancher/rancher/releases shows v2.6.12 as the most recent, which will confuse users on 2.7.X

Suggest to use https://releases.rancher.com/server-charts/latest/index.yaml && https://releases.rancher.com/server-charts/stable/index.yaml as sources.

Additionally, split latest_rancher_version into two metrics:

rancher_version_stable rancher_version_latest

David-VTUK commented 1 year ago

fixed with #22