Mac OS X 的 Prometheus 预构建二进制文件

Prometheus pre build binary for Mac OS X

我正在 Mac OS X 上试用 Prometheus。我查看了下载,但没有直接指示哪个版本适用于 Mac。我尝试 docker 到 运行 Mac 上的普罗米修斯。只想运行直接上Mac,不用docker。有谁知道选择哪个版本。

可供挑选的 BSD 很少。我知道 Mac 也是 BSD。不确定哪个匹配或无关紧要,只要它是 bsd?

除了那些二进制文件,我认为 brew install 应该可以完成工作

amd64 上的 downloads page has a build for Darwin

引用维基百科页面:

Darwin forms the core set of components upon which macOS (previously OS X and Mac OS X), iOS, watchOS, and tvOS are based.

这是 OSX 的官方二进制文件。其他方法(如brew install prometheus也可以)

从 link - https://docs.docker.com/v17.12/docker-for-mac/install/#download-docker-for-mac.

安装并下载 Docker

You can launch the your terminal. You can launch a Prometheus container for trying it out with

$ docker run --name prometheus -d -p 127.0.0.1:9090:9090 prom/prometheus

Prometheus will now be reachable at http://localhost:9090/.