carbon.conf 2.2 KB

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