github.com/macb/etcd@v0.3.1-0.20140227003422-a60481c6b1a0/contrib/graphite/carbon.conf (about) 1 [cache] 2 LOCAL_DATA_DIR = /var/lib/graphite/storage/whisper/ 3 4 # Specify the user to drop privileges to 5 # If this is blank carbon runs as the user that invokes it 6 # This user must have write access to the local data directory 7 USER = 8 9 # Limit the size of the cache to avoid swapping or becoming CPU bound. 10 # Sorts and serving cache queries gets more expensive as the cache grows. 11 # Use the value "inf" (infinity) for an unlimited cache size. 12 MAX_CACHE_SIZE = inf 13 14 # Limits the number of whisper update_many() calls per second, which effectively 15 # means the number of write requests sent to the disk. This is intended to 16 # prevent over-utilizing the disk and thus starving the rest of the system. 17 # When the rate of required updates exceeds this, then carbon's caching will 18 # take effect and increase the overall throughput accordingly. 19 MAX_UPDATES_PER_SECOND = 1000 20 21 # Softly limits the number of whisper files that get created each minute. 22 # Setting this value low (like at 50) is a good way to ensure your graphite 23 # system will not be adversely impacted when a bunch of new metrics are 24 # sent to it. The trade off is that it will take much longer for those metrics' 25 # database files to all get created and thus longer until the data becomes usable. 26 # Setting this value high (like "inf" for infinity) will cause graphite to create 27 # the files quickly but at the risk of slowing I/O down considerably for a while. 28 MAX_CREATES_PER_MINUTE = inf 29 30 LINE_RECEIVER_INTERFACE = 0.0.0.0 31 LINE_RECEIVER_PORT = 2003 32 33 #PICKLE_RECEIVER_INTERFACE = 0.0.0.0 34 #PICKLE_RECEIVER_PORT = 2004 35 36 #CACHE_QUERY_INTERFACE = 0.0.0.0 37 #CACHE_QUERY_PORT = 7002 38 39 LOG_UPDATES = False 40 41 # Enable AMQP if you want to receve metrics using an amqp broker 42 # ENABLE_AMQP = False 43 44 # Verbose means a line will be logged for every metric received 45 # useful for testing 46 # AMQP_VERBOSE = False 47 48 # AMQP_HOST = localhost 49 # AMQP_PORT = 5672 50 # AMQP_VHOST = / 51 # AMQP_USER = guest 52 # AMQP_PASSWORD = guest 53 # AMQP_EXCHANGE = graphite 54 55 # Patterns for all of the metrics this machine will store. Read more at 56 # http://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol#Bindings 57 # 58 # Example: store all sales, linux servers, and utilization metrics 59 # BIND_PATTERNS = sales.#, servers.linux.#, #.utilization 60 # 61 # Example: store everything 62 # BIND_PATTERNS = #