Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 76 lines (57 sloc) 2.594 kb
493cd2f added amqp client
Lucio Torre authored
1 # This is a configuration file with AMQP enabled
2
3 [cache]
4 LOCAL_DATA_DIR =
5
6 # Specify the user to drop privileges to
7 # If this is blank carbon runs as the user that invokes it
8 # This user must have write access to the local data directory
9 USER =
10
11 # Limit the size of the cache to avoid swapping or becoming CPU bound.
12 # Sorts and serving cache queries gets more expensive as the cache grows.
13 # Use the value "inf" (infinity) for an unlimited cache size.
14 MAX_CACHE_SIZE = inf
15
16 # Limits the number of whisper update_many() calls per second, which effectively
17 # means the number of write requests sent to the disk. This is intended to
18 # prevent over-utilizing the disk and thus starving the rest of the system.
19 # When the rate of required updates exceeds this, then carbon's caching will
20 # take effect and increase the overall throughput accordingly.
21 MAX_UPDATES_PER_SECOND = 1000
22
23 # Softly limits the number of whisper files that get created each minute.
24 # Setting this value low (like at 50) is a good way to ensure your graphite
25 # system will not be adversely impacted when a bunch of new metrics are
26 # sent to it. The trade off is that it will take much longer for those metrics'
27 # database files to all get created and thus longer until the data becomes usable.
28 # Setting this value high (like "inf" for infinity) will cause graphite to create
29 # the files quickly but at the risk of slowing I/O down considerably for a while.
30 MAX_CREATES_PER_MINUTE = inf
31
32 LINE_RECEIVER_INTERFACE = 0.0.0.0
33 LINE_RECEIVER_PORT = 2003
34
1815d76 @tmm1 Listen for datagrams on the same port as the line receiver by default
authored
35 UDP_RECEIVER_INTERFACE = 0.0.0.0
36 UDP_RECEIVER_PORT = 2003
37
493cd2f added amqp client
Lucio Torre authored
38 PICKLE_RECEIVER_INTERFACE = 0.0.0.0
39 PICKLE_RECEIVER_PORT = 2004
40
41 CACHE_QUERY_INTERFACE = 0.0.0.0
42 CACHE_QUERY_PORT = 7002
43
44 # Enable AMQP if you want to receve metrics using you amqp broker
45 ENABLE_AMQP = True
46
47 # Verbose means a line will be logged for every metric received
48 # useful for testing
49 AMQP_VERBOSE = True
50
51 # your credentials for the amqp server
52 # AMQP_USER = guest
53 # AMQP_PASSWORD = guest
54
55 # the network settings for the amqp server
56 # AMQP_HOST = localhost
57 # AMQP_PORT = 5672
58
3cf53b9 @cdavis merging in Pete's patch from Bug #705613
cdavis authored
59 # if you want to include the metric name as part of the message body
60 # instead of as the routing key, set this to True
61 # AMQP_METRIC_NAME_IN_BODY = False
62
493cd2f added amqp client
Lucio Torre authored
63 # NOTE: you cannot run both a cache and a relay on the same server
64 # with the default configuration, you have to specify a distinict
65 # interfaces and ports for the listeners.
66
67 [relay]
68 LINE_RECEIVER_INTERFACE = 0.0.0.0
69 LINE_RECEIVER_PORT = 2003
70
71 PICKLE_RECEIVER_INTERFACE = 0.0.0.0
72 PICKLE_RECEIVER_PORT = 2004
73
74 CACHE_SERVERS = server1, server2, server3
75 MAX_QUEUE_SIZE = 10000
Something went wrong with that request. Please try again.