--- title: "MetricsAggregationSubQueryRequestDto" slug: "metricsaggregationsubqueryrequestdto" updated: 2025-12-18T05:33:21Z published: 2025-12-18T06:01:00Z canonical: "api-gov.ncloud-docs.com/metricsaggregationsubqueryrequestdto" --- > ## Documentation Index > Fetch the complete documentation index at: https://api-gov.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # MetricsAggregationSubQueryRequestDto Classic/VPC 환경에서 이용 가능합니다. ## 구문 구문은 다음과 같습니다. ``` private Long startTime; private Long endTime; private IntervalDto interval; private String productType; private String productKey; private String metric; private Map dimensions; private String perSeriesAggregation; private String crossSeriesAggregation; ``` ## 필드 필드에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `startTime` | Long | Required | 조회 시작 시각 (Unix Timestamp, ms) | | `endTime` | Long | Required | 조회 종료 시각 (Unix Timestamp, ms) | | `interval` | [IntervalDto](/docs/common-vapidatatype-intervaldto) | Required | 조회하려는 데이터의 집계 주기 | | `productType` | String | Required | 상품 유형 기본으로 `NCP_PRODUCT`로 설정하셔야 합니다. | | `productKey` | String | Required | 상품 식별자 | | `metric` | String | Required | 조회할 Metric 이름 | | `dimensions` | Map | Required | 조회 조건 Dimension | | `perSeriesAggregation` | String | Required | 시계열별 집계 방식 - `SUM` - `MIN` - `MAX` - `AVG` | | `crossSeriesAggregation` | String | Required | 시계열 간 집계 방식 - `SUM` - `MIN` - `MAX` - `AVG` |