Set alert conditions에 대해 above를 선택한 다음 경보 및 주의 임계값을 입력합니다. 예를 들어 Alert threshold에 200을 입력하고 Warning threshold에 150을 입력할 수 있습니다.
Configure notifications & automations에서 워크플로 이름을 지정한 다음 메시지 텍스트를 입력합니다. 예를 들어 다음과 같은 메시지 텍스트를 사용할 수 있습니다.
@slack-alert-channel
{{#is_warning}}
Workflow has executed {{warn_threshold}} times in the last day; manual action might be needed to avoid alerting.
{{/is_warning}}
{{#is_alert}}
Workflow has executed {{threshold}} times in the last day, which is our budget threshold for workflows. We should unpublish the workflow to avoid any more automatic executions for the day.
{{/is_alert}}
Create를 클릭합니다.
이벤트 관리자에서 워크플로 이벤트 조회
이벤트 관리자를 사용하여 source:workflow_automation에 대해 필터링함으로써 워크플로 시작 및 완료 이벤트를 조회할 수 있습니다.
특정 워크플로에 대한 이벤트를 보려면 Search facets 상자에서 workflow.workflow_id를 검색합니다. 특정 ID 세트를 선택하면 해당 워크플로에 대한 이벤트만 볼 수 있습니다.
또한 Status를 기준으로 출력을 필터링하여 info, warn 또는 error 메시지만 볼 수 있습니다.
사용량 속성에서 워크플로 청구 추적
사용량 속성은 Enterprise 플랜에 포함된 고급 기능입니다. 다른 모든 플랜에 대해서는 계정 담당자에게 문의하거나 success@datadoghq.com에 기능 사용을 요청해야 합니다.