Adding Memcache integration "options"
* Add options key
adding options key to allow collection of additional metrics
* Update memcache.rb
MODIFY
recipes/memcache.rb
recipes/memcache.rb
@@ -10,7 +10,11 @@ include_recipe 'datadog::dd-agent'
# {
# "url" => "localhost",
# "port" => "11211",
-# "tags" => ["prod", "aws"]
+# "tags" => ["prod", "aws"],
+# "options" => [
+# "items: false",
+# "slabs: false"
+# ]
# }
# ]

MODIFY
templates/default/mcache.yaml.erb
templates/default/mcache.yaml.erb
@@ -12,6 +12,12 @@ instances:
- <%= t %>
<% end -%>
<% end -%>
+ <% if i.key?('options') -%>
+ options:
+ <% i['options'].each do |o| -%>
+ <%= o %>
+ <% end -%>
+ <% end -%>
<% end -%>
init_config:

Adding Memcache integration "options" (#689)

* Add options key

adding options key to allow collection of additional metrics 
https://github.com/DataDog/integrations-core/blob/master/mcache/datadog_checks/mcache/data/conf.yaml.example#L44-L46

* Update memcache.rb