【发布时间】:2022-01-04 13:33:22
【问题描述】:
我需要使用 cURL http 请求收集 Prometheus 的最新版本。到目前为止,我可以看到 Prometheus 版本发布在 https://github.com/prometheus/prometheus/releases/ 下。但是,这需要以某种方式解析整个 HTML 页面才能找到它。 有没有更直接的方式来捕获最新版的 Prometheus? 谢谢
【问题讨论】:
标签: prometheus
【问题讨论】:
标签: prometheus
你可以使用
https://github.com/prometheus/prometheus/releases/latest
/latest 会将您重定向到标记为最新的版本
【讨论】: