Closed cjdaniel closed 5 years ago
@cjdaniel sorry for the delay, you've closed this, is this because you no longer want this addition to be reviewed?
@dabcoder No worries -- yes, I don't want it to be reviewed. Thank you!
@cjdaniel I realise it's been a long time, but having run into the same issue you describe I'm wondering why you withdrew your PR - did you find an alternative way to pass in tags?
@cjdaniel I realise it's been a long time, but having run into the same issue you describe I'm wondering why you withdrew your PR - did you find an alternative way to pass in tags?
It has been too long to remember completely (in fact, we don't even use this anymore) -- but I think we ended up customizing this callback plugin far too much for it to be useful to anybody else. Pretty sure we were still using the callback method. Tags were still defined in hostvars!
Add tags from hostvars list
datadog_tags
to metrics and events, for better organization of Ansible metrics/events in Datadog across a live infrastructure.Using Ansible in a "pull" architecture (where each host runs Ansible locally on a schedule) this patch allows appropriately tagging each host/environment's Ansible events and metrics.