Error scraping clickhouse: Error scraping clickhouse url ***
ocean-zhc opened this issue · 2 comments
ocean-zhc commented
step 1:
mkdir -p $GOPATH/src/github.com/Percona-Lab
cd $GOPATH/src/github.com/Percona-Lab
git clone https://github.com/Percona-Lab/clickhouse_exporter
step2 : mac本地编译
cd $GOPATH/src/github.com/Percona-Lab/clickhouse_exporter
GO111MODULE=off CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build clickhouse_exporter.go
step3: 上传服务器 centos6
step4:执行
./clickhouse_exporter -scrape_uri=http://clickhouse_server_ip:8123/ -log.level=info
期待回复!!!
Slach commented
Did you see #61?
could you just build from latest master
branch version instead of use Percona-Lab?
ocean-zhc commented
谢谢