---
title: "WidgetMetricInfoDto"
slug: "common-apidatatype-ciwidgetmetricinfodto"
tags: ["Classic"]
updated: 2026-04-23T08:55:28Z
published: 2026-04-23T09:02:14Z
canonical: "api.ncloud-docs.com/common-apidatatype-ciwidgetmetricinfodto"
---

> ## 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

<p class="platform-info type-classic-vpc">Classic/VPC 환경에서 이용 가능합니다.</p>

Widget 내 Metric 정보입니다.

## 구문 <a name="구문"></a>
구문은 다음과 같습니다.

```Java
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;
```

## 필드 <a name="필드"></a>
필드에 대한 설명은 다음과 같습니다. 

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