carbon.conf
31行解除註釋:
1 [cache]
2 # Configure carbon directories.
3 #
4 # OS environment variables can be used to tell carbon where graphite is
5 # installed, where to read configuration from and where to write data.
6 #
7 # GRAPHITE_ROOT - Root directory of the graphite installation.
8 # Defaults to ../
9 # GRAPHITE_CONF_DIR - Configuration directory (where this file lives).
10 # Defaults to $GRAPHITE_ROOT/conf/
11 # GRAPHITE_STORAGE_DIR - Storage directory for whisper/rrd/log/pid files.
12 # Defaults to $GRAPHITE_ROOT/storage/
13 #
14 # To change other directory paths, add settings to this file. The following
15 # configuration variables are available with these default values:
16 #
17 # STORAGE_DIR = $GRAPHITE_STORAGE_DIR
18 # LOCAL_DATA_DIR = %(STORAGE_DIR)s/whisper/
19 # WHITELISTS_DIR = %(STORAGE_DIR)s/lists/
20 # CONF_DIR = %(STORAGE_DIR)s/conf/
21 # LOG_DIR = %(STORAGE_DIR)s/log/
22 # PID_DIR = %(STORAGE_DIR)s/
23 #
24 # For FHS style directory structures, use:
25 #
26 # STORAGE_DIR = /var/lib/carbon/
27 # CONF_DIR = /etc/carbon/
28 # LOG_DIR = /var/log/carbon/
29 # PID_DIR = /var/run/
30 #
31 LOCAL_DATA_DIR = /opt/graphite/storage/whisper/
155行解除註釋:
155 LOG_CACHE_QUEUE_SORTS = True