Flare Generation¶
A flare contains essential troubleshooting information that is sent to the Datadog support team to assist in resolving Datadog support tickets.
To generate a flare for ECS Fargate:¶
-
On your ECS Fargate service in CDK, set the
enableExecuteCommand
totrue
.const service = new abcBlueGreenApplicationLoadBalancedFargateService(this, 'FargateService', { serviceName: APP_NAME, cluster: cluster, ... ... enableExecuteCommand : true })
-
From your terminal, log in to your AWS Account, assuming the
elevated engineer
role where the container is running.sde login --workload=<workload> --role=<role> --env=<env> --version=2 --assume=Engineer
-
Run the following command to generate the flare:
aws ecs execute-command --cluster <CLUSTER_NAME> \ --task <TASK_ID> \ --container datadog-agent \ --interactive \ --command "agent flare <CASE_ID>"
Additional resources