Best practices
The availability of client libraries and the option to build custom integrations add a lot of flexibility to your toolbox for integrating Datadog with another application or even a batch job. However, there are certain best practices that you need to look at before starting to implement automation or customization using one or more of those options:
- If you can choose the programming language, pick a language that is better supported and popular, such as Python for scripting and Java for enterprise applications. If the application to be integrated runs primarily runs on Microsoft Windows platforms, choosing C# would be wise.
- Choose a client library that is officially maintained. It's a no-brainer – you need to rely on a library that will keep up with the enhancements made to the Datadog platform and REST API.
- Plan to manage Datadog resources as code using Terraform. Ansible can help there too, but its support for Datadog is limited as of now...