Skip to content

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.

  1. Navigate to the root of an environment in your infrastructure repository (e.g., stacks/dev).
  2. Add the datadog-common package to your environment:

    ok pkg add datadog-common
    
  3. Navigate to the datadog-common directory:

    cd datadog-common
    
  4. Open package-config.yml and set a name for the stack:

    stacks/dev/datadog-common/package-config.yml
    +StackName: datadog-common
    
  5. Install the template:

    ok pkg install
    
  6. Review the generated Terraform configuration and apply the changes:

    terraform plan
    terraform apply
    

Step 2: Verify the setup

Verify that the Datadog integration is working:

  1. Log in to Datadog using your Microsoft email: https://app.datadoghq.eu/account/login/by_email.
  2. Select the Origo organization if prompted.
  3. Navigate to Integrations > Amazon Web Services.
  4. Verify that your AWS account is listed without errors.

Next steps

With the basic Datadog integration in place, you can now:

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!