This reposistory is for images of graphite and the associated carbon daemons: carbon-cache and carbon-relay. It represents what we believe to be the best practices for running a graphite cluster.
- docker and docker-compose must be installed
rake -Twill explain most everything
The docker-compose.yml file is an example of a multi-node graphite cluster with each node running mulitple carbon-caches. It's described on Clustering Graphite - bitprophet.org as the "Multiple nodes, multiple caches on each, multiple relays".
In the docker-compose.yml example, pretend there are two "nodes" a and b.
Each of those hosts is running:
- one
carbon-relayegrelayaandrelayb. Eachcarbon-relayis pointed at thecarbon-caches running on the same "node". It is usingconsistent-hashingfor the relay method. - two
carbon-caches: e.g.cachea1,cachea2,cacheb1,cacheb2. There should be acarbon-cacheper core. - one
graphite-web: e.g.webaandwebb. Eachgraphite-webis only pointed at thecarbon-relayrunning on the same "node".
We then run a separate web pointed at weba and webb and a "top" carbon-relay pointed at relaya and relayb.
Fork away, commit, and send a pull request.