DataDog / chef-datadog

Chef cookbook for Datadog Agent & Integrations
https://www.datadoghq.com
Apache License 2.0
97 stars 262 forks source link

chore(recipe/consul): enable integration_template usage #902

Open michelmzs opened 1 year ago

michelmzs commented 1 year ago

What does this PR do?

Enable integration template usage for consul monitoring.

Motivation

Currently, there is no way to add custom attributes due to hard-coded values in consul.yaml.erb. For example, it makes impossible to use use_prometheus_endpoint as suggested in consul integration example.

Additional Notes

Solves https://github.com/DataDog/chef-datadog/issues/849

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist