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 common parameter. | GetAlertRuleDetail |
Version | Query | String | Yes | The API version, which is a public parameter. | 2022-07-11 |
Id | RequestBody | Int64 | Yes | The alert configuration ID. | - |
Field | Type | Description |
Field | Type | Description |
Id | Int32 | The API name, which is a common parameter. |
Config | AlertRuleConfig | The alert configuration. |
Status | AlertRuleStatus | The alert status. |
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 | The symbol used in the composite metric formula. |
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] | Filter condition. |
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 |
CreateBy | User | The user who created the alert. |
UpdateBy | User | The user who last modified the alert. |
CreateAt | Int64 | Creation time. |
UpdateAt | Int64 | The last update time. |
AlertCount | Int64 | The alert count. |
LastMonthAlertCount | Int64 | The alert count in the last month. |
LastExecuteTime | Int64 | The last alert time. |
NextTriggerTime | Int64 | The next execution time. |
EnableStatus | Boolean | Whether the alert is enabled. |
AlertStatus | Boolean | Whether it is deleted. |
InAck | Boolean | Whether the alert is acknowledged. |
AckUntilTime | int64 | The time until which the acknowledgement is valid. |