crypto-market-overwatch is an exporter for prometheus to track crypto coins. Grafana demo: http://45.32.68.4/, both of username and password are guest
.
go get github.com/FX-HAO/crypto-market-overwatch
cd $GOPATH/src/github.com/FX-HAO/crypto-market-overwatch
go build && ./crypto-market-overwatch
See detail:
./crypto-market-overwatch --help
It's recommended to use docker to keep your environment clean and much easier to use.
docker run -it -d -p 80:80 --name crypto-market-overwatch fuxin/crypto-market-overwatch
Then start your prometheus and configure the target to the server, see prometheus.yml.
/api/coins // return all coins information
/api/coins/{coin} // return specific coin information
You can set up a Grafana dashboard for Prometheus. More info: Grafana supports querying Prometheus
- Alert support
- Docker support
- Grafana configuration