Interface DatadogFargateAgentProps

interface DatadogFargateAgentProps {
    apm?: DatadogFargateApmProps;
    cpu?: number;
    enabled?: boolean;
    image?: ContainerImage;
    imageTag?: string;
    logToCloudWatch?: boolean;
    memoryLimitMiB?: number;
    statsd?: DatadogFargateStatsdProps;
    tags?: Record<string, string>;
}

Properties

cpu?: number
enabled?: boolean

Whether the Datadog agent should be enabled

Remarks

If this is not enabled, the agent will not be deployed to the task. This is useful if you only want to use the firelens logging configuration.

Default

false
image?: ContainerImage

The image to use for the Datadog agent

Remarks

This is useful if you want to use a custom image for the Datadog agent.

Default

ecs.ContainerImage.fromRegistry('public.ecr.aws/datadog/agent:latest')
imageTag?: string

The tag to use for the Datadog agent image

Remarks

This is useful if you want to use a custom image for the Datadog agent. This will be ignored if setting image.

Default

latest
logToCloudWatch?: boolean

Whether the Datadog agent should log to CloudWatch.

Remarks

If this is enabled, the Datadog agent will log its own output to CloudWatch. This is useful if you want to see the logs to debug the Datadog agent.

Default

false
memoryLimitMiB?: number

The memory limit for the Datadog agent container

Default

256
tags?: Record<string, string>

Any additional tags to include in the metrics sent to Datadog

Remarks

By default, this will be unset and the metrics will be sent without any additional tags.

Generated using TypeDoc