@pgarbe/cdk-datadog
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @pgarbe/cdk-datadog

Weekly Downloads

9

Version

0.0.6

License

Apache-2.0

Unpacked Size

128 kB

Total Files

15

Last publish

Collaborators

  • pgarbe