--- title: "WidgetMetricInfoDto" slug: "common-apidatatype-ciwidgetmetricinfodto" tags: ["Classic"] updated: 2026-09-17T09:25:01Z published: 2026-09-17T09:25:01Z 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 Available in Classic and VPC This is the metric information in a widget. ## Syntax The syntax is as follows: ``` private String displayName; private String prodKey; private String prodName; private String metric; private Map dimensions; private Calculation statistic; private Interval period; private String color; private JSONArray data; ``` ## Field The following describes the fields: | Field | Type | Required | Description | | --- | --- | --- | --- | | `displayName` | String | - | Name of metric displayed in widget | | `prodKey` | String | - | cw_key of the product | | `prodName` | String | - | Name of product | | `metric` | String | - | Metric name to be searched | | `dimensions` | Map | - | Dimension name of the data to query - Can be entered as a key/value. | | `statistic` | Calculation | - | Aggregation function to query - `COUNT` \| `SUM` \| `MAX` \| `MIN` \| `AVG` | | `period` | Interval | - | Aggregation interval to query - `Min1` \| `Min5` \| `Min30` \| `Hour2` \| `Day1` | | `color` | String | - | Color of the chart displayed in the widget | | `data` | JSONArray | - | Search results |