~graphite-dev/graphite/1.1

« back to all changes in this revision

Viewing changes to carbon/conf/carbon.conf.example

  • Committer: Chris Davis
  • Date: 2011-08-08 03:42:23 UTC
  • mfrom: (337.5.162 graphite)
  • Revision ID: chrismd@gmail.com-20110808034223-lrvejc3tfmyn6o9g
cherrypicking trunk revs 500-507

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
[cache]
2
 
LOCAL_DATA_DIR = /opt/graphite/storage/ceres/
 
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 whipser/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/ceres/
 
19
#   WHITELISTS_DIR = STORAGE_DIR/lists/
 
20
#   CONF_DIR       = STORAGE_DIR/conf/
 
21
#   LOG_DIR        = STORAGE_DIR/log/
 
22
#   PID_DIR        = STORAGE_DIR/
 
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/ceres/
3
32
 
4
33
# Specify the user to drop privileges to
5
34
# If this is blank carbon runs as the user that invokes it
6
35
# This user must have write access to the local data directory
7
 
USER = 
 
36
USER =
8
37
 
9
38
# Limit the size of the cache to avoid swapping or becoming CPU bound.
10
39
# Sorts and serving cache queries gets more expensive as the cache grows.