- 필수 기능
- 시작하기
- 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+=`In AWS Step Functions, you can set up a large-scale parallel workload by including a Map
state in Distributed mode. Datadog supports tracing your Distributed Map states.
To ensure that child workflows are correctly linked to their parents, enable the Item Batching option for your Distributed Map state. For more information, see ItemBatcher. If you don’t want to use Item Batching, you can set MaxItemsPerBatch
to 1 as a workaround.
Your State Machine definition must use JSONata as the query language. To enable this, set your definition’s top-level QueryLanguage
field to JSONata
.
On the Distributed Map state, set _datadog
in the BatchInput
field as follows:
"ItemBatcher": {
"MaxItemsPerBatch": N,
"BatchInput": {
"_datadog": "{% ($execInput := $states.context.Execution.Input; $hasDatadogTraceId := $exists($execInput._datadog.`x-datadog-trace-id`); $hasDatadogRootExecutionId := $exists($execInput._datadog.RootExecutionId); $ddTraceContext := $hasDatadogTraceId ? {'x-datadog-trace-id': $execInput._datadog.`x-datadog-trace-id`, 'x-datadog-tags': $execInput._datadog.`x-datadog-tags`} : {'RootExecutionId': $hasDatadogRootExecutionId ? $execInput._datadog.RootExecutionId : $states.context.Execution.Id}; $merge([$ddTraceContext, {'serverless-version': 'v1', 'timestamp': $millis()}])) %}"
}
}
Executions from a child map run are in the same invocation table as the parent Step Function. As a result, the child table in the Step Functions page is empty.
If trace merging is broken because there is another upstream service, ensure the upstream setup is correct according to the Step Function Trace Merging documentation.