TDTech Digest

032. Amazon Textract CloudWatch 지표 (CloudWatch metrics for Amazon Textract)

  • 원문: English
  • 위치: Security › Logging and monitoring › CloudWatch metrics for Amazon Textract

한 줄 요약

Textract는 AWS/Textract 네임스페이스에 6개 지표(SuccessfulRequestCount, ThrottledCount, ResponseTime, ServerErrorCount, UserErrorCount, InProgressJobs)를 게시하며, 차원은 Operation 입니다. Operation 차원에는 StartDocumentInsights, GetDocumentInsights 같은 Insights 작업도 포함됩니다.

핵심 내용

지표

지표설명단위 / 통계
SuccessfulRequestCount성공 요청 수 (응답 코드 200–299)Count / Sum, Average
ThrottledCount스로틀된 요청 수 (계정 TPS 한도 초과). 자주 초과하면 Service Quotas에서 증가 요청Count / Sum, Average
ResponseTime응답 계산 시간(ms). ⚠️ Textract 콘솔 지표 창에는 미포함Data Samples는 Count, Average는 ms
ServerErrorCount서버 오류 수 (500–599)Count / Sum, Average
UserErrorCount사용자 오류 수 (잘못된 파라미터, 이미지, 권한 없음 등, 400–499)Count / Sum, Average
InProgressJobs진행 중인 비동기 작업 수. 새 작업이 성공적으로 시작될 때마다 기록Count / Maximum, Average
  • InProgressJobs는 비동기 Start 작업에만 게시: StartDocumentTextDetection, StartDocumentAnalysis, StartExpenseAnalysis, StartLendingAnalysis, StartDocumentInsights
  • Insights 스로틀링 오류는 076 참고
  • Textract Core 콘솔에서 지표 집계 화면도 볼 수 있습니다.

차원

  • 작업별 지표: AWS/Textract 네임스페이스 + Operation 차원

SA 관점

  • InProgressJobs의 Maximum을 동시 작업 할당량(Insights 기본 20, 074)과 비교하는 알람을 두면 LimitExceededException 발생 전에 대응할 수 있습니다.
  • 📝 InProgressJobs는 “새 작업 시작 시 기록"되므로 작업 시작이 없는 구간에는 값이 갱신되지 않을 수 있다는 점을 대시보드 해석 시 감안하세요.