할당량 모니터링 및 알림 설정
시간이 지남에 따라 앱의 서비스 사용 증가로 인해 앱의 API 할당량 사용이 증가할 수 있습니다. 좋은 사용자 환경을 유지하려면 Stackdriver Monitoring을 사용하여 앱의 API 할당량 사용을 관찰하고 할당량이 부족할 때 알림을 받는 것이 좋습니다.
Stackdriver Monitoring에서 할당량 모니터링 프로세스를 설정하려면 다음 단계를 완료하세요.
- 필요한 경우 기존 프로젝트를 위한 Stackdriver Monitoring 작업공간을 생성합니다.
- 측면 탐색 영역에서 리소스 > 측정항목 탐색기를 선택합니다.
- 리소스 유형 및 측정항목 찾기 상자에서 '사용된 API'를 입력하고 사용된 API 리소스 유형을 선택합니다.
- 또한 리소스 유형 및 측정항목 찾기 상자에서 'serviceruntime.googleapis.com/api/request_count'를 입력하고 표시되는 요청 횟수 측정항목을 선택합니다.
- 필터 상자에서 'androidcheck.googleapis.com'을 입력합니다.
- 그룹화 기준 상자에서 'project_id'를 입력하고 project_id 리소스 라벨을 선택합니다.
- 애그리게이터 드롭다운 목록에서 합계를 선택합니다.
- 원한다면 고급 집계 옵션을 사용하여 정렬 기간을 변경할 수 있습니다. 이 구성 단계는 SafetyNet Attestation API의 일일 호출 수를 모니터링하는 데 필요할 수 있습니다.
맞춤 대시보드 및 알림을 만듭니다. 자세한 내용은 다음 가이드를 참조하세요.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2020-06-26 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]