The DD formula has worked great but we are needing to tweak settings within datadog.yml such as tags, collect_ec2_tags, and enable_metadata_collection.
I do see a related PR #24. Looking at how this is designed as the number of options need to get added the amount of if statements will continue to grow (https://github.com/DataDog/datadog-formula/pull/24/files#diff-14b50415a1c3f0d35d35d0e6bd0b322aR40).
Would this repo be open/interest to move datadog.yml to a jinja templated file, so an user could just plug values into pillar for arbitrary config?
Example of the test.pillar updated that would write to datadog.yml only under the dd_config block:
datadog:
api_key: aaaaaaaabbbbbbbbccccccccdddddddd
checks:
process:
init_config:
procfs_path: /proc
instances:
- name: ssh
search_string: ['sshd']
tcp_check:
instances:
- host: 127.0.0.1
name: sshd
port: 22
dd_config:
- collect_ec2_tags: True
- enable_metadata_collection: True
The DD formula has worked great but we are needing to tweak settings within
datadog.ymlsuch as tags, collect_ec2_tags, and enable_metadata_collection.I do see a related PR #24. Looking at how this is designed as the number of options need to get added the amount of if statements will continue to grow (https://github.com/DataDog/datadog-formula/pull/24/files#diff-14b50415a1c3f0d35d35d0e6bd0b322aR40).
Would this repo be open/interest to move datadog.yml to a jinja templated file, so an user could just plug values into pillar for arbitrary config?
Example of the test.pillar updated that would write to
datadog.ymlonly under thedd_configblock: