Consistent hashing Exception
Trying to setup a carbon relay with consistent-hashing sending metrics to multiple cache instances on the same box. Using below settings. When the router is trying to create the hashing ring, it is throwing "destination instance already configured" exception. Looks like the carbon-relay code is expecting a unique IP for each destination. Any idea how we can send metrics to same host and multiple cache instances?
carbon 0.9.13
==============
[relay:c]
LINE_RECEIVER_
PICKLE_
MAX_QUEUE_SIZE = 10000
MAX_DATAPOINTS_
LINE_RECEIVER_PORT = 2413
PICKLE_
RELAY_METHOD = consistent-hashing
DESTINATIONS = 127.0.0.1:2104:c, 127.0.0.1:2204:c, 127.0.0.1:2304:c, 127.0.0.1:2404:c
Exception:
/app/graphite/
Starting carbon-relay (instance c)
Traceback (most recent call last):
File "/app/graphite/
run_
File "/app/graphite/
runApp(config)
File "/app/graphite/
_SomeApplic
File "/app/graphite/
self.
File "/app/graphite/
ser = plg.makeService
File "/app/graphite/
return service.
File "/app/graphite/
client_
File "/app/graphite/
self.
File "/app/graphite/
raise Exception(
Exception: destination instance (127.0.0.1, c) already configured
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jason Dixon
- Solved:
- Last query:
- Last reply: