「 项目开发记录 」 August 19, 2018
linux环境下编译安装prometheus
Words count 897 Reading time 1 mins.
yum insatll go
export GOPATH=`pwd`
cd $GOPATH/src/github.com/prometheus
git clone https://github.com/prometheus/prometheus.git
cd prometheus
make assets
make build
复制prometheus.yml到目录下,然后运行
./prometheus
promethus的前端页面在/root/src/github.com/prometheus...
Read article