addedInput schema / properties / groupDesc
Added value: +{
+ "description": "Description (<= 300 chars)",
+ "type": "string"
+}
changedInput schema / properties / groupName / description
Previous value: -"New name for the metrics group"New value: +"Name of the metrics group (1-100 chars)"
removedInput schema / properties / metricList
Removed value: -{
- "description": "Updated metric configurations",
- "items": {
- "additionalProperties": false,
- "properties": {
- "aggregation": {
- "description": "Aggregation type",
- "enum": [
- "AVG",
- "MIN",
- "MAX",
- "SUM",
- "COUNT"
- ],
- "type": "string"
- },
- "condition": {
- "description": "Threshold condition",
- "enum": [
- "GT",
- "GTE",
- "LT",
- "LTE",
- "EQ"
- ],
- "type": "string"
- },
- "duration": {
- "description": "Duration in minutes",
- "type": "number"
- },
- "eventLevel": {
- "description": "Event severity level",
- "enum": [
- "CRITICAL",
- "WARNING",
- "INFO"
- ],
- "type": "string"
- },
- "metricGroupItemId": {
- "description": "Metric item ID",
- "type": "string"
- },
- "threshold": {
- "description": "Threshold value",
- "type": "number"
- }
- },
- "required": [
- "metricGroupItemId",
- "condition",
- "threshold",
- "duration",
- "eventLevel"
- ],
- "type": "object"
- },
- "type": "array"
-}
addedInput schema / properties / metricsGroupItems
Added value: +{
+ "description": "Metric items (at least one)",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "calculation": {
+ "description": "Aggregation of the metric",
+ "enum": [
+ "COUNT",
+ "SUM",
+ "MAX",
+ "MIN",
+ "AVG"
+ ],
+ "type": "string"
+ },
+ "condition": {
+ "description": "Threshold operator (LT, LE, EQ, GE, GT)",
+ "enum": [
+ "LT",
+ "LE",
+ "EQ",
+ "GE",
+ "GT"
+ ],
+ "type": "string"
+ },
+ "desc": {
+ "description": "Metric description",
+ "type": "string"
+ },
+ "dimensions": {
+ "description": "Dimension filters, e.g. [{dim:\"type\", val:\"svr\"}]",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "dim": {
+ "description": "Dimension name defined in the schema (e.g. \"type\")",
+ "type": "string"
+ },
+ "val": {
+ "description": "Dimension value (e.g. \"svr\")",
+ "type": "string"
+ }
+ },
+ "required": [
+ "dim",
+ "val"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "duration": {
+ "description": "Duration (>= 1)",
+ "type": "number"
+ },
+ "eventLevel": {
+ "description": "Event level",
+ "enum": [
+ "INFO",
+ "WARNING",
+ "CRITICAL"
+ ],
+ "type": "string"
+ },
+ "metric": {
+ "description": "Metric name (e.g. avg_cpu_used_rto)",
+ "type": "string"
+ },
+ "metricGroupItemId": {
+ "description": "Metric group item ID (when updating an existing item)",
+ "type": "string"
+ },
+ "threshold": {
+ "description": "Threshold value",
+ "type": "number"
+ }
+ },
+ "required": [
+ "metric",
+ "eventLevel",
+ "condition",
+ "calculation",
+ "duration",
+ "threshold"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+}
addedInput schema / properties / prodKey
Added value: +{
+ "description": "Product key (cw_key) for the target service",
+ "type": "string"
+}
addedInput schema / properties / prodType
Added value: +{
+ "description": "Product type: system (Ncloud product) or custom (Custom Schema)",
+ "enum": [
+ "system",
+ "custom"
+ ],
+ "type": "string"
+}
addedInput schema / properties / temporaryGroup
Added value: +{
+ "default": false,
+ "description": "true: create the Event Rule without creating a metrics group (default false)",
+ "type": "boolean"
+}
changedInput schema / required
Previous value: -[
- "metricsGroupId"
-]New value: +[
+ "metricsGroupId",
+ "prodKey",
+ "groupName",
+ "metricsGroupItems"
+]