Add tag_families option to RabbitMQ template
MODIFY
recipes/rabbitmq.rb
recipes/rabbitmq.rb
@@ -13,6 +13,7 @@ include_recipe 'datadog::dd-agent'
# "user" => "guest",
# "pass" => "guest",
# "ssl_verify" => "true"
+# "tag_families" => "false"
# }
# ]

MODIFY
spec/integrations/rabbitmq_spec.rb
spec/integrations/rabbitmq_spec.rb
@@ -7,6 +7,7 @@ describe 'datadog::rabbitmq' do
rabbitmq_user: guest
rabbitmq_pass: guest
ssl_verify: true
+ tag_families: false
tags:
- optional_tag1
- optional_tag2

MODIFY
templates/default/rabbitmq.yaml.erb
templates/default/rabbitmq.yaml.erb
instances:
# for every instance a 'rabbitmq_api_url' must be provided, pointing to the api
# url of the RabbitMQ Managment Plugin (http://www.rabbitmq.com/management.html)
- # optional: 'rabbitmq_user' (default: guest), 'rabbitmq_pass' (default: guest), and 'ssl_verify' (default: true)
+ # optional: 'rabbitmq_user' (default: guest), 'rabbitmq_pass' (default: guest), 'ssl_verify' (default: true) and 'tag_families' (default: false)
<% @instances.each do |i| -%>
- rabbitmq_api_url: <%= i['api_url'] %>
rabbitmq_user: <%= i['user'] || 'guest' %>
rabbitmq_pass: <%= i['pass'] || 'guest' %>
ssl_verify: <%= i['ssl_verify'] || 'true' %>
+ tag_families: <%= i['tag_families'] || 'false' %>
<% if i.key?('tags') -%>
tags:
<% i['tags'].each do |x| -%>

Add tag_families option to RabbitMQ template (#437)