Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions templates/datadog.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@

{# These variables are free-style, passed through a hash -#}
{% if datadog_config -%}
{{ datadog_config | to_nice_yaml }}
{% for key, value in datadog_config.items() -%}
{{ key }}: {{ value }}
{% endfor -%}
{% endif %}

{% if datadog_config_ex is defined -%}
{% for section, keyvals in datadog_config_ex.items() %}
[{{ section }}]
{{ keyvals | to_nice_yaml }}
{% for key, value in keyvals.items() -%}
{{ key }}: {{ value }}
{% endfor -%}
{% endfor %}
{% endif %}