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 -T
will explain most everything
The docker-compose.yml file is an example of a multi-node graphite cluster with each node running mulitple carbon-cache
s. 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-relay
egrelaya
andrelayb
. Eachcarbon-relay
is pointed at thecarbon-cache
s running on the same "node". It is usingconsistent-hashing
for the relay method. - two
carbon-cache
s: e.g.cachea1
,cachea2
,cacheb1
,cacheb2
. There should be acarbon-cache
per core. - one
graphite-web
: e.g.weba
andwebb
. Eachgraphite-web
is only pointed at thecarbon-relay
running 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.