removedInput schema / properties / aggregation
Removed value: -{
- "description": "Aggregation type",
- "enum": [
- "AVG",
- "MIN",
- "MAX",
- "SUM",
- "COUNT"
- ],
- "type": "string"
-}
removedInput schema / properties / dimensions
Removed value: -{
- "additionalProperties": {
- "type": "string"
- },
- "description": "Dimension filters as key-value pairs",
- "type": "object"
-}
removedInput schema / properties / interval
Removed value: -{
- "description": "Aggregation interval",
- "enum": [
- "Min1",
- "Min5",
- "Min30",
- "Hour2",
- "Day1"
- ],
- "type": "string"
-}
removedInput schema / properties / metric
Removed value: -{
- "description": "Metric name to query",
- "type": "string"
-}
addedInput schema / properties / metricsInfo
Added value: +{
+ "description": "Metric definitions to preview (WidgetMetricInfoDto[])",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "description": "Chart color (e.g., #1f77b4)",
+ "type": "string"
+ },
+ "dimensions": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Dimension filters as key-value pairs",
+ "type": "object"
+ },
+ "displayName": {
+ "description": "Metric display name on the widget",
+ "type": "string"
+ },
+ "metric": {
+ "description": "Metric name to query",
+ "type": "string"
+ },
+ "period": {
+ "description": "Aggregation interval",
+ "enum": [
+ "Min1",
+ "Min5",
+ "Min30",
+ "Hour2",
+ "Day1"
+ ],
+ "type": "string"
+ },
+ "prodKey": {
+ "description": "Product key (cw_key)",
+ "type": "string"
+ },
+ "productName": {
+ "description": "Product name (e.g., \"System/Server(VPC)\")",
+ "type": "string"
+ },
+ "resourceId": {
+ "description": "Resource ID",
+ "type": "string"
+ },
+ "resourceName": {
+ "description": "Resource name",
+ "type": "string"
+ },
+ "statistic": {
+ "description": "Aggregation function",
+ "enum": [
+ "COUNT",
+ "SUM",
+ "MAX",
+ "MIN",
+ "AVG"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prodKey",
+ "metric",
+ "statistic",
+ "period"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+}
addedInput schema / properties / periodEnd
Added value: +{
+ "description": "End time in Unix epoch milliseconds",
+ "type": "number"
+}
addedInput schema / properties / periodStart
Added value: +{
+ "description": "Start time in Unix epoch milliseconds",
+ "type": "number"
+}
removedInput schema / properties / prodKey
Removed value: -{
- "description": "Product key (cw_key)",
- "type": "string"
-}
removedInput schema / properties / timeEnd
Removed value: -{
- "description": "End time in Unix epoch milliseconds",
- "type": "number"
-}
removedInput schema / properties / timeStart
Removed value: -{
- "description": "Start time in Unix epoch milliseconds",
- "type": "number"
-}
changedInput schema / required
Previous value: -[
- "prodKey",
- "metric",
- "timeStart",
- "timeEnd"
-]New value: +[
+ "periodStart",
+ "periodEnd",
+ "metricsInfo"
+]