- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
",t};e.buildCustomizationMenuUi=t;function n(e){let t='
",t}function s(e){let n=e.filter.currentValue||e.filter.defaultValue,t='${e.filter.label}
`,e.filter.options.forEach(s=>{let o=s.id===n;t+=``}),t+="${e.filter.label}
`,t+=`You can run the Datadog Agent alongside your AWS Batch job containers by adding the container to your job definition.
my-app-and-datadog
.datadog-agent
.public.ecr.aws/datadog/agent:latest
.DD_API_KEY
and enter your Datadog API Key as the value.ECS_FARGATE
and the value true
. Click Add to add the container.DD_SITE
and the value
. This defaults to datadoghq.com
if you don’t set it.amazon/aws-for-fluent-bit:stable"
for the container.fluentbit
.enable-ecs-log-metadata
set to true
to the Name and Value respectivelyawsfirelens
Download datadog-agent-aws-batch-ecs-fargate.json.
Note: If you are using Internet Explorer, this may download as a gzip file, which contains the JSON file mentioned below.
Update the JSON with a JOB_DEFINITION_NAME
, your Datadog API Key, and the appropriate DD_SITE
().
Note: The environment variable ECS_FARGATE
is already set to "true"
.
Add your other application containers to the job definition.
AWS Batch supports Fluent Bit and Firelens. To enable log collection for your application containers with Datadog:
log_router
container with the following in the containers
section: {
"name": "log_router",
"image": "amazon/aws-for-fluent-bit:stable",
"essential": true,
"firelensConfiguration": {
"type": "fluentbit",
"options": {
"enable-ecs-log-metadata": "true"
}
},
"resourceRequirements": [
{
"value": "0.25",
"type": "VCPU"
},
{
"value": "512",
"type": "MEMORY"
}
]
}
logConfiguration
options similar to Step 2 of the ECS Fargate Fluent Bit and Firelens sectionExecute the following command to register the job definition:
aws batch register-job-definition --cli-input-json file://<PATH_TO_FILE>/datadog-agent-aws-batch-ecs-fargate.json
aws batch submit-job --job-name <JOB_NAME> \
--job-queue <JOB_QUEUE_NAME> \
--job-definition <JOB_DEFINITION_NAME>:1
추가 유용한 문서, 링크 및 기사: