nameError: caches is not defined
graphite: 1.1.2
Django==1.11.10
I add relay config to carbon.It's running on the same host.
configs:
PICKLE_
PICKLE_
CACHE_QUERY_
RELAY_METHOD = consistent-hashing
DESTINATIONS = 127.0.0.1:2104:a, 127.0.0.1:2204:b
[cache]
LOCAL_DATA_DIR = /data/graphite/
LOG_DIR = /data/graphite/
MAX_CREATES_
LOG_UPDATES = False
LOG_CACHE_HITS = False
LOG_CACHE_
CARBON_
CARBON_
[cache:a]
LINE_RECEIVER_PORT = 2103
PICKLE_
CACHE_QUERY_PORT = 7102
[cache:b]
LINE_RECEIVER_PORT = 2203
PICKLE_
CACHE_QUERY_PORT = 7202
localsetting.py -relevant information
MEMCACHE_HOSTS = ['127.0.0.1:11211']
DEFAULT_
CARBONLINK_HOSTS = ['127.0.
CARBONLINK_TIMEOUT = 1.0
I am getting this error:
File "/opt/graphite/
sys.
File "/opt/graphite/
utility.
File "/opt/graphite/
settings.
File "/opt/graphite/
self.
File "/opt/graphite/
self._wrapped = Settings(
File "/opt/graphite/
mod = importlib.
File "/usr/lib/
__import_
File "/opt/graphite/
'TIMEOUT': DEFAULT_
NameError: name 'CACHES' is not defined
Where should be caches defined ? Should memcache define for both instances ?
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: