graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #06501
[Question #631935]: Recommendations for local_settings.py and carbon.conf
New question #631935 on Graphite:
https://answers.launchpad.net/graphite/+question/631935
I am planning to upgrade graphite-web from 0.9.15 to 1.0.1.
Do you have any guidelines or best practices for local_settings.py? I am running 1.0.1 in our test environment with the following settings for my frontend server:
SECRET_KEY = 'xxxxxxx'
TIME_ZONE = 'CET'
MEMCACHE_HOSTS = ['10.57.78.34:11211']
CLUSTER_SERVERS = ["10.57.78.32:80", "10.57.78.33:80"]
DEFAULT_CACHE_DURATION = 60
DEFAULT_CACHE_POLICY = [(0, 60), # default is 60 seconds
(7200, 120), # >= 2 hour queries are cached 2 minutes
(21600, 180), # >= 6 hour queries are cached 3 minutes
(43200, 360), # >= 12 hour queries are cached 6 minutes
(86400, 600)] # >= 24 hour queries are cached 10 minutes
REMOTE_PREFETCH_DATA = True
REMOTE_FIND_TIMEOUT = 6.0 # Timeout for metric find requests
REMOTE_FETCH_TIMEOUT = 6.0 # Timeout to fetch series data
REMOTE_RETRY_DELAY = 60.0 # Time before retrying a failed remote webapp
REMOTE_STORE_MERGE_RESULTS = True
Am I missing something crucial here you think? Everything seems to be running fine, I was just curious to know if you know of anything that I don't have that should definitely be in there.
Regards,
Tobias
--
You received this question notification because your team graphite-dev
is an answer contact for Graphite.