141. Guardrails 모니터링 (Monitor Guardrails)
- 원문: English
- 위치: Security, Guardrails, and Observability › Observability › Monitor features › Monitor Guardrails
한 줄 요약
Guardrails 지표는 CloudWatch 네임스페이스 AWS/Bedrock/Guardrails 에 게시되며, 호출 수·지연·오류·개입 수·텍스트 단위와 자동 추론(Automated Reasoning) 검사 결과를 볼 수 있습니다.
핵심 내용
지표
| 지표 | 단위 | 설명 |
|---|
Invocations | SampleCount | ApplyGuardrail 요청 수 |
InvocationLatency | ms | 요청 전송부터 마지막 토큰 수신까지 |
InvocationClientErrors / InvocationServerErrors | SampleCount | 클라이언트/서버 측 오류 |
InvocationThrottles | SampleCount | 스로틀 수 (호출·오류로 안 셈) |
TextUnitCount | SampleCount | 가드레일 정책이 소비한 텍스트 단위 |
InvocationsIntervened | SampleCount | 가드레일이 개입한 호출 수 |
FindingCounts | SampleCount | InvokeAutomatedReasoningCheck 결과 유형별 개수 |
TotalFindings | SampleCount | 요청당 생성된 결과 수 |
Invocations (AutomatedReasoning) | SampleCount | InvokeAutomatedReasoningCheck 요청 수 |
Latency | ms | 자동 추론 정책 검증 지연 |
차원
| 차원 | 값 | 적용 지표 |
|---|
Operation | ApplyGuardrail | 호출·지연·오류·스로틀·개입·TextUnit |
GuardrailContentSource | Input / Output | 위와 동일 |
GuardrailPolicyType | ContentPolicy, TopicPolicy, WordPolicy, SensitiveInformationPolicy, ContextualGroundingPolicy | InvocationsIntervened, TextUnitCount |
GuardrailArn, GuardrailVersion | ARN, 버전 번호 또는 DRAFT | 호출·지연·오류·스로틀·개입·TextUnit |
FindingType + PolicyArn + PolicyVersion / FindingType + GuardrailArn + GuardrailVersion | | FindingCounts |
PolicyArn + PolicyVersion | | TotalFindings, Invocations, Latency |
GuardrailArn + GuardrailVersion | | TotalFindings |
SA 관점
- 💡
InvocationsIntervened를 GuardrailPolicyType과 GuardrailContentSource로 쪼개 보면 “어떤 정책이 입력/출력 중 어디서 많이 막는지” 알 수 있어 오탐 튜닝에 유용합니다. - 💡
TextUnitCount는 Guardrails 과금과 직결되므로 비용 대시보드에 넣으세요.