Get started with Datadog
This guide helps you set up Datadog integration in your AWS accounts to enable observability for your applications and infrastructure. Once configured, you'll collect logs, metrics, and traces from applications and AWS services in your accounts.
Before you begin
Make sure that TEK or Team Kjøremiljø has created a team for you in the origo-datadog-iac repository.
Need help? Contact Team Kjøremiljø in the #origo-kjøremiljø-support
Slack channel.
Step 1: Install the datadog-common
template
The datadog-common
template sets up the necessary shared resources for Datadog integration in each AWS account.
- Navigate to the root of an environment in your infrastructure repository (e.g.,
stacks/dev
). -
Add the
datadog-common
package to your environment: -
Navigate to the
datadog-common
directory: -
Open
package-config.yml
and set a name for the stack: -
Install the template:
-
Review the generated Terraform configuration and apply the changes:
Step 2: Verify the setup
Verify that the Datadog integration is working:
- Log in to Datadog using your Microsoft email: https://app.datadoghq.eu/account/login/by_email.
- Select the
Origo
organization if prompted. - Navigate to Integrations > Amazon Web Services.
- Verify that your AWS account is listed without errors.
Next steps
With the basic Datadog integration in place, you can now:
- Instrument Java applications to collect application metrics, logs, and traces.
- Forward CloudWatch and ALB logs to Datadog for centralized log management.
If you have questions about or issues with any of this, please reach out in the #origo-kjøremiljø-support Slack channel and we'll help you out!