{
"name": "datadog-agent",
"image": "xxxxxxxxx.dkr.ecr.ap-northeast-1.amazonaws.com/ecr-public/datadog/agent:latest",
"essential": true,
"cpu": 10,
"memoryReservation": 256,
"logConfiguration": {
"logDriver": "awslogs",
"secretOptions": null,
"options": {
"awslogs-group": "/ecs/datadog",
"awslogs-region": "ap-northeast-1",
"awslogs-stream-prefix": "ecs"
}
},
"environment": [
{
"name": "DD_DOGSTATSD_NON_LOCAL_TRAFFIC",
"value": "true"
},
{
"name": "DD_ENV",
"value": "staging"
},
{
"name": "ECS_FARGATE",
"value": "true"
}
],
"secrets": [
{
"valueFrom": "/ecs/datadog/api_key",
"name": "DD_API_KEY"
}
]
}