git config --get datadog.api
git config --get datadog.application
Both should return one key (API and application respectively).
cd my-git-repo
git log --reverse HEAD~~..HEAD | awk '/commit/ {print $2} END {print "master"}' > post-receive-args
cat post-receive-args | post-receive-datadog