Monitoring data 조회

Prev Next

설정한 Monitoring data를 보여줍니다.

  • document_upload : 업로드한 Document 크기를 보여줍니다 / uploaded documnet byte
  • reindex : 재색인(섹션, 색인 추가시 발생)된 문서 사이즈를 보여줍니다. / reindexed document byte
  • autocomplete_reindex : 자동완성이 적용된 문서의 수를 보여줍니다. / reindexed document count for autocomplete
  • search_response : Search Query 네트워크 사용량을 보여줍니다. / response size of searching, unit is byte
GET https://cloudsearch.apigw.gov-ntruss.com/CloudSearch/real/v1/domain/{name}/monitoring/apicall_count

요청

요청 파라미터

파라미터 명 필수 여부 타입 제약사항 설명
name Yes string 생성되어져 있는 Domain 이름
monitoring_item Yes enum, string Monitoring 항목 : document_upload, reindex, autocomplete_reindex, search_response
interval Yes number 60, 300, 1800, 7200, 86400 조회 간격 : 60s, 300s, 1800s, 7200s, 86400s
from Yes string ISO_8601 시작 시간(UTC, ex: 20161027T171340Z )
to Yes string ISO_8601 종료 시간(UTC, ex: 20161027T171340Z )

응답

필드명 타입 설명 비고
- Array[number] index 0 : unixtime, index 1 : 값

응답 Status

HTTP Status Desc
200 OK(조회 완료)
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error

예시

요청 예시 - 일별 데이터 조회

GET https://cloudsearch.apigw.gov-ntruss.com/CloudSearch/real/v1/domain/car_dev/monitoring/document_upload?interval=60&from=2019-02-28T00%3A00%3A00Z&to=2019-02-28T00%3A00%3A00Z

응답 예시

[
  [
    1551312000,
    200
  ],
  [
    1551312060,
    3
  ],
  [
    1551312120,
    20
  ],
]