Skip to content

pgarbe/cdk-datadog

Repository files navigation

CDK-DataDog

An CDK library to easily integrate your applications with DataDog.

Disclaimer: This is not an offical DataDog Construct Library.

Currently supported:

  • DataDog Agent as ECS Sidecar

How to use it

DataDog Agent as SideCar

  let existingTaskDefinition = ... // Taskdefinition with app container
  let datadogApiKey = // Secret from ParameterStore or SecretsManager

  DataDogSideCar.addToTaskDefinition(
    taskDefinition,
    {
      datadogApiKey
    }
  );

How it works

Primitives:

  • Metric
  • Log
  • Trace

Manipulate with tags: https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/

  • service
  • env
  • version

Fargate

  • Logs: fluentbit
  • Metrics: dd-agent
  • Traces: dd-agent

Lambda

  • Wait for March

About

CDK Constructs for DataDog resources

Resources

License

Stars

Watchers

Forks

Packages

No packages published