git clone https://github.com/matthew-hollick/graphite-clickhouse-tldr.git
cd graphite-clickhouse-tldr
pushd dockerfiles/carbonapi
docker build -t carbonapi .
popd
docker-compose up
Open http://127.0.0.1:3000 in browser to access Grafana
Username and Password are admin
Open http://127.0.0.1 in browser to access graphite-web
In grafana UI add:
Host | Container | Service |
---|---|---|
80 | 80 | nginx |
2003 | 2003 | carbon receiver - plaintext |
2004 | 2004 | carbon receiver - pickle |
2006 | 2006 | carbon receiver - prometheus remote write |
3000 | 3000 | Grafana |
Where <<IP_ADDRESS>> is your local machine address (127.0.0.1 does not work on macs)
docker run -it egaillardon/haggar -carbon <<IP_ADRESS>>:2003 -agents 10 -metrics 100
Add Grafana datasources to be imported on boot.