Permalink
Browse files

incorrectly named attribute, fixes #134

  • Loading branch information...
1 parent fae07eb commit 323ca845a6e13e2c4f113a4e23fc42755c7d50f0 @webframp webframp committed Feb 19, 2014
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.md
  2. +1 −1 attributes/carbon_cache.rb
  3. +1 −1 templates/default/carbon.conf.erb
View
@@ -53,7 +53,7 @@ carbon-cache.py attributes
* `node['graphite']['carbon']['cache_query_port']` - cache query port (defaults to 7002)
* `node['graphite']['carbon']['use_flow_control']` - set this to "False" to drop datapoints received after the cache reaches *MAX_CACHE_SIZE* (defaults to "True")
* `node['graphite']['carbon']['max_cache_size']` - max size of the carbon cache (defaults to "inf")
-* `node['graphite']['carbon']['max_creates_per_second']` - max number of new metrics to create per second (defaults to "inf")
+* `node['graphite']['carbon']['max_creates_per_minute']` - max number of new metrics to create per minute (defaults to "inf")
* `node['graphite']['carbon']['max_updates_per_second']` - max updates to carbon per second (defaults to "1000")
* `node['graphite']['carbon']['log_whisper_updates']` - log updates to whisper (defaults to "False")
* `node['graphite']['carbon']['whisper_autoflush']` - set this option to "True" if you want whisper to write synchronously (defaults to "False")
@@ -15,7 +15,7 @@
default['graphite']['carbon']['use_insecure_unpickler'] = 'False'
default['graphite']['carbon']['use_flow_control'] = 'True'
default['graphite']['carbon']['max_cache_size'] = 'inf'
-default['graphite']['carbon']['max_creates_per_second'] = 'inf'
+default['graphite']['carbon']['max_creates_per_minute'] = 'inf'
default['graphite']['carbon']['max_updates_per_second'] = '1000'
default['graphite']['carbon']['log_whisper_updates'] = 'False'
default['graphite']['carbon']['whisper_autoflush'] = 'False'
@@ -54,7 +54,7 @@ MAX_UPDATES_PER_SECOND = <%= @carbon_options[:max_updates_per_second] %>
# database files to all get created and thus longer until the data becomes usable.
# Setting this value high (like "inf" for infinity) will cause graphite to create
# the files quickly but at the risk of slowing I/O down considerably for a while.
-MAX_CREATES_PER_MINUTE = <%= @carbon_options[:max_creates_per_second] %>
+MAX_CREATES_PER_MINUTE = <%= @carbon_options[:max_creates_per_minute] %>
LINE_RECEIVER_INTERFACE = <%= @carbon_options[:caches][:a][:line_receiver_interface] %>
LINE_RECEIVER_PORT = <%= @carbon_options[:caches][:a][:line_receiver_port] %>

0 comments on commit 323ca84

Please sign in to comment.