More compact example
MODIFY
attributes/default.rb
attributes/default.rb
@@ -90,7 +90,7 @@ default['datadog']['tag_prefix'] = 'tag:'
# The host of the Datadog intake server to send Agent data to, only set this option
# if you need the Agent to send data to a custom URL.
-# The nil value will let the Agent 6 select the URL to send the data.
+# The nil value will let the Agent 6/7 select the URL to send the data.
# Any non-nil value overrides the 'site' value, prefer using 'site' unless your
# use case isn't covered by 'site'.
# For Agent 5, the Agent 5 recipe will fallback on https://app.datadoghq.com
@@ -295,7 +295,7 @@ default['datadog']['trace_env'] = nil
default['datadog']['extra_sample_rate'] = nil
default['datadog']['max_traces_per_second'] = nil
default['datadog']['receiver_port'] = nil
-# `connection_limit` is ignored in Agent 6
+# `connection_limit` is ignored in Agent 6/7
default['datadog']['connection_limit'] = nil
# ddtrace ruby gem version
@@ -348,17 +348,14 @@ default['datadog']['system_probe']['debug_port'] = 0
default['datadog']['system_probe']['bpf_debug'] = false
default['datadog']['system_probe']['enable_conntrack'] = false
-# Logs functionality settings (Agent 6 only)
+# Logs functionality settings (Agent 6/7 only)
# Set `enable_logs_agent` to:
# * `true` to explicitly enable the log agent
# * `false` to explicitly disable it
# Leave it to `nil` to let the agent's default behavior decide whether to run the log-agent
default['datadog']['enable_logs_agent'] = nil
-# Here you can specify any settings that should end up under 'logs_config' in datadog.yaml, eg:
-# default['datadog']['logs_agent_config'] = {
-# 'use_http' => false,
-# 'use_compression' => true
-# }
+# Here you can specify any settings that should end up under 'logs_config' in datadog.yaml
+# eg: default['datadog']['logs_agent_config'] = { 'use_http' => false, 'use_compression' => true }
default['datadog']['logs_agent_config'] = nil
# For custom gem servers on restricted networks

More compact example