Hi,
I have no experience with DataDog, but a very quick glance at their documentation and I don’t see a reason why it wouldn’t work. It somewhat depends on what you allow on your instances, ie you need to be able to open ports I believe. It wouldn’t work on our cloud, for example, as you wouldn’t have the necessary access. Being headless has no effect on whether you can use this.