Application Performance Management Plus
Field | Position | Type | Required | Description | Sample value |
Field | Position | Type | Required | Description | Sample value |
Action | Query | String | Yes | The API name, which is a public parameter. | UpdateAlertRule |
Version | Query | String | Yes | The API version, which is a public parameter. | 2022-07-11 |
Id | RequestBody | Int64 | Yes | The alert configuration ID. | - |
Config | RequsetBody | AlertRuleConfig | Yes | The alert configuration. | - |
Field | Type | Description |
Field | Type | Description |
Name | String | The alert name. |
Desc | String | The alert description. |
AlertStrategy | AlertStrategy | The alert policy. |
NotifyConfig | NotifyConfig | The alert notification configuration. |
Field | Type | Description |
Field | Type | Description |
NotifyInterval | Int32 | The notification interval. |
NotifyTypes | Array[String] | The alert type.
|
NotifyLarkWebhooks | Array[String] | The Feishu webhooks. |
NotifyWebhooks | Array[String] | The common webhooks. |
NotifyGroup | Array[Int32] | The alert group ID. |
Field | Type | Description |
Field | Type | Description |
AlertType | String | The alert type.
|
AlertLevel | Array[String] | The alert level. |
LogicOperator | String | The multiple-policy relationship.
|
ExecuteInterval | Int32 | The alert execution interval. Unit: minutes. |
MetricConfig | Array[AlertMetricConfig] | The metric policy. |
Field | Type | Description |
Field | Type | Description |
ScanWindow | Int32 | The detection time window. Unit: minutes. |
RollupTimeframeByAggregator | String | Time window aggregation method.
|
AlertMetric | AlertMetric | The alert execution interval. Unit: minutes. |
CompareConfigList | Map[AlertCompareConfig] | The metric policy.
|
Field | Type | Description |
Field | Type | Description |
CompareType | String |
|
CompareOp | String | Threshold:
|
Level | String | The alert level is the same as MapKey. |
WindowSize | Int3 | The data sampling window size. Unit: seconds. |
Value | Float64 | The threshold. |
Field | Type | Description |
Field | Type | Description |
IsFormula | Boolean | Whether it is a composite alert. |
SimpleMetric | AlertSimpleMetric | The simple alert metric. When IsFormula is set to true, leave this parameter empty. |
FormulaMetric | AlertFormulaMetric | The composite alert metric. When IsFormula is set to false, leave this parameter empty. |
Field | Type | Description |
Field | Type | Description |
AlertSimpleMetric | Array[AlertSimpleMetric] | The simple alert metric. |
FormulaQuery | FormulaQuery | The composite metric configuration. |
Field | Type | Description |
Field | Type | Description |
Formula | String | Composite metric calculation formula. |
Alias | String | Displayed name. |
Unit | String | Unit. |
Alphabet | String | Symbols used for calculation formulas. |
Field | Type | Description |
Field | Type | Description |
Ispromql | Boolean | Whether it is a PromQL metric. |
Promql | String | PromQL query. |
Metric | String | The metric name. |
Unit | String | Unit. |
Alphabet | String | Symbols used in composite metric formulas. |
MetricCategory | String | Metric type.
|
MetricSource | String | Metric type.
|
GroupByFields | Array[String] | Grouping. |
Aggregator | String | Group aggregation function. |
AddFunc | String | Post-processing function.
|
Filters | Array[FilterCondition] | The filter criteria. |
Field | Type | Description |
Field | Type | Description |
Key | String | The tag name for filtering. |
Op | String | The operator for filtering.
|
Values | String | Unit. |
Field | Type | Description |
Field | Type | Description |
Id | Int32 | The alert group ID. |