---
title: "WidgetMetricInfoDto"
slug: "common-vapidatatype-ciwidgetmetricinfodto"
tags: ["Classic"]
updated: 2026-04-23T08:55:10Z
published: 2026-04-23T09:02:03Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WidgetMetricInfoDto

Classic/VPC 환경에서 이용 가능합니다.

Widget 내 Metric 정보입니다.

## 구문

구문은 다음과 같습니다.

```
private String displayName;
private String prodKey;
private String prodName;
private String metric;
private Map<String, String> dimensions;
private Calculation statistic;
private Interval period;
private String color;
private JSONArray data;
```

## 필드

필드에 대한 설명은 다음과 같습니다.

| 필드 | 타입 | 필수 여부 | 설명 |
| --- | --- | --- | --- |
| `displayName` | String | - | Widget에서 보여지는 Metric의 이름 |
| `prodKey` | String | - | 상품의 cw_key |
| `prodName` | String | - | 상품의 이름 |
| `metric` | String | - | 조회하려는 Metric 이름 |
| `dimensions` | Map<String, String> | - | 조회하려는 데이터의 Dimension 이름 - key/value로 입력 가능 |
| `statistic` | Calculation | - | 조회하려는 집계 함수 - `COUNT` \| `SUM` \| `MAX` \| `MIN` \| `AVG` |
| `period` | Interval | - | 조회하려는 집계 주기 - `Min1` \| `Min5` \| `Min30` \| `Hour2` \| `Day1` |
| `color` | String | - | 위젯에서 보여지는 차트의 색깔 |
| `data` | JSONArray | - | 조회된 결과 |
