graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #01841
Re: [Question #180769]: Federate Storage - metrics on multiple servers
Question #180769 on Graphite changed:
https://answers.launchpad.net/graphite/+question/180769
Status: Needs information => Open
fooblahblah gave more information on the question:
I'm using 0.9.9 tarballs for each of the components, whisper, carbon and
webapp.
There are two machine 192.168.1.10/11 each configured too use an
aggregator with 1sec sum. I load balance between the two and have
verified the data is making it to each carbon using:
curl
http://<host>/render?format=json&from=-60sec&target=test.test._default.click
Lastly, I have CLUSTER_HOSTS = ["127.0.0.1", "192.168.1.11"] on
192.168.1.10 and vice versa on the other. As mentioned in previous
threads I have verified when navigating the Dashboard from either webapp
I can see in the access log requests to the other for the metric. No
aggregate rendering (which is what I'm curious has been implemented
yet).
Here's the carbon.conf from as it exists on each machine (with comments
stripped). It's pretty close to the vanilla conf:
[cache]
USER =
MAX_CACHE_SIZE = inf
MAX_UPDATES_PER_SECOND = 1000
MAX_CREATES_PER_MINUTE = 50
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2003
ENABLE_UDP_LISTENER = False
UDP_RECEIVER_INTERFACE = 0.0.0.0
UDP_RECEIVER_PORT = 2003
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2004
USE_INSECURE_UNPICKLER = False
CACHE_QUERY_INTERFACE = 0.0.0.0
CACHE_QUERY_PORT = 7002
USE_FLOW_CONTROL = True
LOG_UPDATES = False
WHISPER_AUTOFLUSH = False
ENABLE_AMQP = False
AMQP_VERBOSE = False
AMQP_HOST = localhost
AMQP_PORT = 5672
AMQP_VHOST = /
AMQP_USER = guest
AMQP_PASSWORD = guest
AMQP_EXCHANGE = graphite
AMQP_METRIC_NAME_IN_BODY = False
[relay]
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2013
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2014
RELAY_METHOD = rules
REPLICATION_FACTOR = 1
DESTINATIONS = 127.0.0.1:2004
MAX_DATAPOINTS_PER_MESSAGE = 500
MAX_QUEUE_SIZE = 10000
USE_FLOW_CONTROL = True
[aggregator]
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2023
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2024
DESTINATIONS = 127.0.0.1:2004
REPLICATION_FACTOR = 1
MAX_QUEUE_SIZE = 10000
USE_FLOW_CONTROL = True
MAX_DATAPOINTS_PER_MESSAGE = 500
MAX_AGGREGATION_INTERVALS = 5
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.