我正在为以下给定的 GitHub 链接构建项目。但无法理解如何获取.exe版本/构建可以直接使用的项目。
https://github.com/justwatchcom/elasticsearch_exporter
https://github.com/rabbitmq/rabbitmq-prometheus
例如:https://github.com/oliver006/redis_exporter
在以下步骤中提到了
$ go get github.com/oliver006/redis_exporter
$ cd $GOPATH/src/github.com/oliver006/redis_exporter
$ go build
$ ./redis_exporter <flags>
所以我下载并安装了 Go,然后使用上面的方法构建,结果我得到了 redis_exporter.exe,我可以用它来监控它。