Created
September 4, 2013 14:41
-
-
Save gmr/6437914 to your computer and use it in GitHub Desktop.
Single graphite box carbon.conf file that spreads load across four cache daemons for increased write performance and cache effectiveness
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[cache] | |
GRAPHITE_STORAGE_DIR = /var/lib/graphite/ | |
GRAPHITE_ROOT = /opt/graphite/ | |
CONF_DIR = /etc/carbon/ | |
LOG_DIR = /var/log/carbon/ | |
PID_DIR = /var/run/carbon/ | |
LOG_UPDATES = False | |
WHISPER_AUTOFLUSH = True | |
USER = carbon | |
MAX_CACHE_SIZE = inf | |
MAX_UPDATES_PER_SECOND = 10000 | |
MAX_CREATES_PER_MINUTE = 250 | |
MAX_DATAPOINTS_PER_MESSAGE = 500 | |
MAX_QUEUE_SIZE = 10000 | |
LINE_RECEIVER_INTERFACE = 127.0.0.1 | |
PICKLE_RECEIVER_INTERFACE = 127.0.0.1 | |
CACHE_QUERY_INTERFACE = 127.0.0.1 | |
# One directory for all caches so we don't inject a new layer in the tree | |
[cache:a] | |
LINE_RECEIVER_PORT = 2023 | |
PICKLE_RECEIVER_PORT = 2024 | |
CACHE_QUERY_PORT = 7022 | |
LOCAL_DATA_DIR = /var/lib/carbon/whisper/carbon-cache-a | |
[cache:b] | |
LINE_RECEIVER_PORT = 2033 | |
PICKLE_RECEIVER_PORT = 2034 | |
CACHE_QUERY_PORT = 7032 | |
LOCAL_DATA_DIR = /var/lib/carbon/whisper/carbon-cache-b | |
[cache:c] | |
LINE_RECEIVER_PORT = 2043 | |
PICKLE_RECEIVER_PORT = 2044 | |
CACHE_QUERY_PORT = 7042 | |
LOCAL_DATA_DIR = /var/lib/carbon/whisper/carbon-cache-c | |
[cache:d] | |
LINE_RECEIVER_PORT = 2053 | |
PICKLE_RECEIVER_PORT = 2054 | |
CACHE_QUERY_PORT = 7052 | |
LOCAL_DATA_DIR = /var/lib/carbon/whisper/carbon-cache-d | |
[relay] | |
LINE_RECEIVER_INTERFACE = 0.0.0.0 | |
PICKLE_RECEIVER_INTERFACE = 0.0.0.0 | |
RELAY_METHOD = consistent-hashing | |
REPLICATION_FACTOR = 1 | |
[relay:a] | |
LINE_RECEIVER_PORT = 2003 | |
PICKLE_RECEIVER_PORT = 2004 | |
DESTINATIONS = 127.0.0.1:2024:a, 127.0.0.1:2034:b, 127.0.0.1:2044:c, 127.0.0.1:2054:d | |
[aggregator] | |
LINE_RECEIVER_INTERFACE = 0.0.0.0 | |
LINE_RECEIVER_PORT = 2123 | |
PICKLE_RECEIVER_INTERFACE = 0.0.0.0 | |
PICKLE_RECEIVER_PORT = 2124 | |
DESTINATIONS = 127.0.0.1:2004 | |
REPLICATION_FACTOR = 1 | |
MAX_QUEUE_SIZE = 100000 | |
USE_FLOW_CONTROL = True | |
MAX_DATAPOINTS_PER_MESSAGE = 500 | |
MAX_AGGREGATION_INTERVALS = 250 | |
CARBON_METRIC_PREFIX = carbon_aggregator | |
CARBON_METRIC_INTERVAL = 60 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment