ansible-datadog-callback icon indicating copy to clipboard operation
ansible-datadog-callback copied to clipboard

[Feature Request] Add a Tag for the git branch.

Open lanceofwhichwedream opened this issue 4 years ago • 1 comments

Ansible is frequently run from a git repo and for testing purposes, typically run from a git feature branch to work out any kinks. Including git branch information in the data reported to datadog would allow for more feature rich events and better alerting.

lanceofwhichwedream avatar Jan 29 '21 16:01 lanceofwhichwedream

I've followed the contribution guidelines and created a Pull Request that would add this to the datadog plugin.

It should be compatible with git >=1.8.1 and requires the subprocess built-in

https://github.com/DataDog/ansible-datadog-callback/pull/58

lanceofwhichwedream avatar Jan 29 '21 17:01 lanceofwhichwedream