Elastic Compute Service
Header key | Header value | Description |
x-volc-trace-id | Random UUID | Used for request tracking. |
x-volc-rule-id | { rule_id } | The policy ID. |
Parameter | Type | Example value | Description |
Type | String | Metric | The alert type. Valid value: Metric (threshold). |
AccountId | String | 210005**** | The account ID. |
RuleName | String | Test alert policies | The policy name. |
RuleId | String | 193525924306958**** | The policy ID. |
Namespace | String | VCM_FileNAS | The product type. |
SubNamespace | String | latency | The dimension. |
Level | String | critical | The alert level: Value:
|
HappenedAt | String | 2024-04-11 14:51:01(UTC+08:00) | The time when the alert is triggered. |
RuleCondition | String | An alert is triggered when any of the metrics reaches the threshold: The average CPU usage exceeds 90% for 10 consecutive cycles (1 cycle = 1 minute). The average memory usage exceeds 90% for 10 consecutive cycles (1 cycle = 1 minute). | The details of the alert policy. |
Resources | Object | - | The details of the resource for which the alert notification is sent. For the specific format, see Resource structure. |
RecoveredResources | Object | - | The details of the resource for which the alert cleared notification is sent. For the specific format, see Resource structure. |
NoDataResources | Object | - | The details of the resource for which the no data alert is triggered. For the specific format, see Resource structure. |
NoDataRecoveredResources | Object | - | The details of the resource for which the no data alert is cleared. For the specific format, see Resource structure. |
Parameter | Type | Example value | Description |
Id | String | i-ydvvy21se8r9cxxi**** | The resource ID. |
Name | String | enas-cn0445d06f**** | The resource name. |
Region | String | cn-beijing | The region. |
FirstAlertTime | Int | 1664332705 | The time when the alert is triggered for the first time. |
LastAlertTime | Int | 1664332705 | The time when the alert is triggered. |
Metrics | Object | - | The metrics for which parsing succeeded. For threshold alerts, see this field. For the specific format, see Metric structure. |
NoDataMetrics | Object | - | The metric for which no data points are collected. For more information about the no data alert, see this field. |
DroppedMetrics | Object | - | The metric for which parsing failed. For example, in numerical calculations related to alerts, a common scenario results in NaN: when the calculation logic involves division, if the dividend is 0, no valid number can be derived, and the system regards this result as unparsable. |
AlertGroupId | String | 68746e79885576cda23**** | The alert history ID. |
Dimensions | Object | - | The dimension information of the resource. For the specific format, see Dimension structure. |
Parameter | Type | Example value | Description |
Name | String | Nfsv3WriteLat**** | The metric name. |
Unit | String | ms | The unit of the metric. |
Threshold | Float | 1 | The threshold of the metric in this policy. |
CurrentValue | Float | 0.0001 | The current value of the metric. |
Description | String | NFSv3 write latency | The description of the metric. |
Warning | Bool | true | The alert triggered by the metric. tip This field exists only when the metric triggers an alert. |
Parameter | Type | Example value | Description |
Name | String | ResourceID | The dimension of the metric. |
Value | String | i-ydvvy21se8r9cxxi**** | The value of the dimension. |
NameCN | String | InstanceID | The Chinese name of the dimension. |