aptible login
before we get started.
main.tf
file and then run terraform init
in the root of the directory.
Next, you will define where you want your metric drain to capture metrics. Whether this is a new environment or an exisiting one. If you are placing this in an exisiting environment you can skip this step, just make sure you have your environment ID.
terraform validate
To deploy the above changes, run terraform apply
Some users have reported issues with applications not sending logs to Datadog, applications will need additional configuration set. Below is an example.