Metric Export를 상세 내용을 조회합니다.
요청
요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.
| 메서드 | URI |
|---|---|
| GET | /cw_fea/real/cw/api/metric-export/{metricExportId} |
요청 헤더
Cloud Insight API에서 공통으로 사용하는 헤더에 대한 정보는 Cloud Insight 요청 헤더를 참조해 주십시오.
요청 파라미터
| 파라미터명 | 필수 여부 | 타입 | 제약사항 | 설명 |
|---|---|---|---|---|
| metricExportId | Required | String | 조회할 Metric Export의 id |
요청 예시
다음은 id가 111인 Metric Export를 조회하는 예시입니다.
GET /cw_fea/real/cw/api/metric-export/111
Host: cw.apigw.fin-ntruss.com
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
x-ncp-dmn_cd: FIN
응답 예시
오류 없이 조회가 완료된 경우 HTTP code 200과 함께 해당 Metric Export의 정보가 리턴됩니다.
{
"aggregation": "COUNT",
"createUtc": 1649230097343,
"description": "metric-export for Server(VPC)",
"destination": {
"productName": "Object Storage",
"regionCode": "KR",
"resourceId": "bucket-name",
"type": "OBS"
},
"id": 111,
"interval": "Min1",
"metrics": [
"avg_cpu_used_rto"
],
"modifyUtc": 1649230113840,
"name": "my-metric-export",
"productKey": "1231231231231231231",
"productName": "Server(VPC)",
"translatedExportStatus": "SUCCESS"
}