File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ Role Variables
18
18
19
19
- ` datadog_api_key ` - Your Datadog API key.
20
20
- ` datadog_checks ` - YAML configuration for agent checks to drop into ` /etc/dd-agent/conf.d ` .
21
- - ` datadog_config ` - Settings to place in ` /etc/dd-agent/datadog.conf ` .
21
+ - ` datadog_config ` - Settings to place in the ` /etc/dd-agent/datadog.conf ` INI file that go under the ` [Main] ` section.
22
+ - ` datadog_config_ex ` - Extra INI sections to go in ` /etc/dd-agent/datadog.conf ` (optional).
22
23
- ` datadog_process_checks ` - Array of process checks and options (DEPRECATED: use ` process ` under
23
24
` datadog_checks ` instead)
24
25
- ` datadog_apt_repo ` - Override default Datadog ` apt ` repository
@@ -40,6 +41,12 @@ Example Playbooks
40
41
datadog_config:
41
42
tags: "mytag0, mytag1"
42
43
log_level: INFO
44
+ apm_enabled: true
45
+ datadog_config_ex:
46
+ trace.config:
47
+ env: dev
48
+ trace.concentrator:
49
+ extra_aggregators: version
43
50
datadog_checks:
44
51
process:
45
52
init_config:
Original file line number Diff line number Diff line change 16
16
{% if datadog_config -%}
17
17
{{ datadog_config | to_nice_yaml }}
18
18
{% endif %}
19
+
20
+ {% if datadog_config_ex is defined -%}
21
+ {% for section , keyvals in datadog_config_ex .iteritems () %}
22
+ [{{ section }}]
23
+ {{ keyvals | to_nice_yaml }}
24
+ {% endfor %}
25
+ {% endif %}
You can’t perform that action at this time.
0 commit comments