建立或修改警示規則。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| AlertId |
integer |
否 |
警示規則 ID。
|
546xxx |
| AlertName |
string |
是 |
警示規則名稱。 |
Alert Rule Demo |
| RegionId |
string |
是 |
地區 ID。 |
cn-hangzhou |
| AlertType |
string |
是 |
警示規則類型:
|
APPLICATION_MONITORING_ALERT_RULE |
| AlertStatus |
string |
否 |
設定警示規則運行狀態。
|
RUNNING |
| NotifyStrategy |
string |
否 |
指定通知策略。
|
569xxx |
| Pids |
string |
否 |
應用監控或前端監控警示規則關聯應用的 PID。 |
["b590lhguqs@40d8deedfa9******"] |
| AutoAddNewApplication |
boolean |
否 |
應用監控或前端監控是否開啟新建立應用追加到此警示規則功能。
|
false |
| MetricsType |
string |
否 |
應用監控或前端監控警示規則的警示指標類型。詳細資料請參見下方表格。 |
jvm |
| Filters |
string |
否 |
應用監控或前端監控警示規則的篩選條件。 格式如下:
FilterOpt 取值如下:
|
{"DimFilters": [ { "FilterOpt": "ALL", "FilterValues": [], "FilterKey": "rootIp" } ] } |
| AlertRuleContent |
string |
否 |
應用監控或前端監控的警示規則內容。AlertRuleContent 模板如下,模板中各欄位含義請參見表格下方的補充說明。
說明
不同的 MetricsType,AlertRuleItems.MetricKey可使用的條件欄位不同。應用監控和前端監控支援的指標類型以及各指標對應的警示規則欄位,請參見表格下方的補充說明。 |
{ "Condition": "OR", "AlertRuleItems": [ { "Operator": "CURRENT_LTE", "MetricKey": "appstat.jvm.threadcount", "Value": 1000, "Aggregate": "AVG", "N": 10, "Tolerability": 169 } ] } |
| AlertCheckType |
string |
否 |
Prometheus 監控警示規則的警示檢查類型。
|
STATIC |
| ClusterId |
string |
否 |
Prometheus 監控警示規則的叢集 ID。 |
ceba9b9ea5b924dd0b6726d2de6****** |
| AlertGroup |
integer |
否 |
Prometheus 警示規則的警示分組 ID。
|
-1 |
| PromQL |
string |
否 |
Prometheus 警示規則的 PromQL 語句。 |
node_memory_MemAvailable_bytes{} / node_memory_MemTotal_bytes{} * 100 |
| Duration |
integer |
否 |
Prometheus 警示規則的期間,單位為分鐘,取值範圍[0,1440]。 |
1 |
| Level |
string |
否 |
Prometheus 警示規則的等級。
|
P2 |
| Message |
string |
否 |
Prometheus 警示規則的警示內容。 |
命名空間: {{$labels.namespace}} / Pod: {{$labels.pod_name}} / 容器: {{$labels.container}} 記憶體使用量率超過80%, 當前值{{ printf \\\"%.2f\\\" $value }}% |
| Labels |
string |
否 |
Prometheus 警示規則的標籤。 |
[ { "Value": "cms_polardb", "Name": "_aliyun_cloud_product" } ] |
| Annotations |
string |
否 |
Prometheus 警示規則的注釋。 |
[ { "Value": "PolarDB 慢查詢數量", "Name": "_aliyun_display_name" } |
| MetricsKey |
string |
否 |
警示指標。建立 Prometheus 警示規則時,如果 AlertCheckType 設定為 STATIC,MetricsKey 必填。 說明
不同的 AlertGroup,對應的警示指標不同,AlertGroup 和 MetricsKey 的對應關係請參見表格下方的補充說明。 |
pop.status.error |
| Tags |
array<object> |
否 |
警示規則標籤(阿里雲統一標籤)。 |
|
|
object |
否 |
標籤。 |
||
| Key |
string |
否 |
標籤的鍵(key)。 |
owner |
| Value |
string |
否 |
標籤的值(value)。 |
John |
| MarkTags |
array<object> |
否 |
應用標籤。用於應用監控警示規則,篩選警示規則相關 App。 |
|
|
object |
否 |
關聯應用標籤。 |
||
| Key |
string |
否 |
標籤鍵。 |
service |
| Value |
string |
否 |
標籤值。 |
proudct |
| DataConfig |
string |
否 |
資料配置。dataRevision 欄位指定指標無資料時的資料修複方式。
|
{ "dataRevision": 2 } |
| Notice |
string |
否 |
生效時間及通知時間。用於相容舊版規則。 |
- |
| AlertPiplines |
string |
否 |
警示發送通道配置。用於相容舊版規則。 |
- |
| NotifyMode |
string |
否 |
通知模式。普通模式或極簡模式。
|
NORMAL_MODE |
| Product |
string |
否 |
建立 Prometheus 警示規則時傳入,後台會校正是否存在此產品,用於區分雲產品過濾查詢。 |
clickhouse |
| AutoAddTargetConfig |
string |
否 |
應用監控警示規則-警示應用自動追加配置。
|
{\"autoAddMatchType\":\"REGULAR\",\"autoAddMatchExp\":\".*cbw.*\"} |
| CheckCycle |
integer |
否 |
prometheus 的警示檢查周期。 |
1 |
| aliyunLang |
string |
否 |
AlertRuleContent 模版欄位說明
{
"Condition": "OR",
"AlertRuleItems": [
{ "Operator": "CURRENT_LTE",
"MetricKey": "appstat.jvm.threadcount",
"Value": 1000,
"Aggregate": "AVG",
"N": 10,
"Tolerability": 169
}
]
}
- Condition:多個警示條件之間的觸發邏輯。
OR:滿足下述任何一個條件。
AND:同時滿足下述條件。
- Operator:警示條件的判斷條件。
CURRENT_GTE:大於或等於
CURRENT_LTE:小於或等於
PREVIOUS_UP:環比上升百分比
PREVIOUS_DOWN:環比下降百分比
HOH_UP:與上小時同比上升百分比
HOH_DOWN:與上小時同比下降百分比
DOD_UP:與昨日同比上升百分比
DOD_DOWN:與昨日同比下降百分比
INTERVAL_EXCEED:區間檢測。注意:區間檢測不支援多條件觸發。
MetricKey:具體警示條件的指標。不同的 MetricsType,對應的指標不同。對應關係請參見下方說明。
Value:警示條件閾值。
- Aggregate:警示條件彙總方式。
AVG:平均
SUM:求和
MAX:最大值
MIN:最小值
CONTINUOUS:持續
AVG_WEIGHTED:錯誤率加權平均值
N:最近 N 分鐘。
Tolerability:表示區間容忍度,取值在 1~200 之間。
應用監控 MetricsType 和AlertRuleContent.AlertRuleItems.MetricKey對應關係
| MetricsType | 指標類型 | AlertRuleContent.AlertRuleItems.MetricKey |
| jvm | JVM 監控 | - appstat.jvm.gc.oldgccountinstant:JVM FullGC 次數(瞬時值) - appstat.jvm.gc.oldgctimeinstant:JVM FullGC 耗時(瞬時值) - appstat.jvm.gc.younggccountinstant:JVM YoungGC 次數(瞬時值) - appstat.jvm.gc.younggctimeinstant:JVM YoungGC 耗時(瞬時值) - appstat.jvm.heap_total:JVM 堆內總記憶體量 - appstat.jvm.heap_used:JVM 堆內使用記憶體量 - appstat.jvm.non_heap_committed:JVM 非堆記憶體提交值 - appstat.jvm.non_heap_init:JVM 非堆記憶體初始值 - appstat.jvm.non_heap_max:JVM 非堆記憶體最大值 - appstat.jvm.non_heap_used:JVM 非堆總使用記憶體量 - appstat.jvm.threadblockedcount:JVM 阻塞線程數 - appstat.jvm.threadcount:JVM 線程總數 - appstat.jvm.threaddeadlockcount:JVM 死結線程數 - appstat.jvm.threadnewcount:JVM 建立線程數 - appstat.jvm.threadrunnablecount:JVM 可運行線程數 - appstat.jvm.threadterminatedcount:JVM 終結線程數 - appstat.jvm.threadtimedwaitcount:JVM 逾時等待線程數 - appstat.jvm.threadwaitcount:JVM 等待線程數 |
| saehost | SAE 主機監控 | - appstat.infra.sae.systemcpu:CPU 使用率 - appstat.infra.sae.systemdiskiopsread:磁碟 IOPS 讀 - appstat.infra.sae.systemdiskiopswrite:磁碟 IOPS 寫 - appstat.infra.sae.systemdiskrate:磁碟使用率 - appstat.infra.sae.systemdiskread:磁碟 IO 吞吐率讀 - appstat.infra.sae.systemdisktotal:磁碟總量 - appstat.infra.sae.systemdiskused:磁碟使用量 - appstat.infra.sae.systemdiskwrite:磁碟 IO 吞吐率寫 - appstat.infra.sae.systemload:系統負載 - appstat.infra.sae.systemmemrate:記憶體使用量率 - appstat.infra.sae.systemmemtotal:總記憶體 - appstat.infra.sae.systemmemused:已用記憶體 - appstat.infra.sae.systemnetrecv:網路接收位元組 - appstat.infra.sae.systemnetrecvdrop:網路接收資料丟包 - appstat.infra.sae.systemnetrecverror:網路接收錯誤資料包 - appstat.infra.sae.systemnetrecvpacket:網路接收資料包 - appstat.infra.sae.systemnettran:網路發送位元組 - appstat.infra.sae.systemnettrandrop:網路發送資料丟包 - appstat.infra.sae.systemnettranerror:網路發送錯誤資料包 - appstat.infra.sae.systemnettranpacket:網路發送資料包 |
| txn_db | SQL 指標 | - appstat.sql.count:資料庫調用次數 - appstat.sql.error:資料庫調用錯誤次數 - appstat.sql.rt:資料庫調用回應時間 |
| db | 資料庫指標 | - appstat.database.count:資料庫調用次數 - appstat.database.errcount:資料庫調用錯誤次數 - appstat.database.rt:資料庫調用回應時間 |
| threadpool | 線程池監控 | - appstat.threadpool.threadcorepoolsize:核心線程數 - appstat.threadpool.threadmaxpoolsize:最大線程數 - appstat.threadpool.threadpoolactivecount:活躍線程數 - appstat.threadpool.threadpoolqueuesize:隊列大小 - appstat.threadpool.threadpoolsize:當前線程數 - appstat.threadpool.threadpooltaskcount:已執行任務數 - appstat.threadpool.threadpoolusedpercent:線程池使用率 |
| exception | 異常介面調用 | - appstat.exception.count:應用異常介面調用次數 - appstat.exception.rt:應用異常介面調用回應時間 |
| txn_type | 應用依賴服務統計 | - appstat.outcall.count:應用依賴服務調用次數 - appstat.outcall.errorrate:應用依賴服務調用錯誤率 - appstat.outcall.rt:應用依賴服務調用回應時間 |
| txn | 應用提供服務統計 | - appstat.transaction.count:調用次數 - appstat.transaction.error:調用錯誤次數 - appstat.transaction.errorrate:調用錯誤率 - appstat.transaction.rt:調用回應時間 |
| host | 主機監控 | - appstat.jvm.systemcpuusage:節點機 CPU 使用率 - appstat.jvm.systemcpuuser:節點機 CPU 使用者態佔用率 - appstat.jvm.systemdiskfree:節點機空閑磁碟 - appstat.jvm.systemdiskusage:節點機磁碟利用率 - appstat.jvm.systemload:節點機系統負載 - appstat.jvm.systemmemfree:節點機空閑記憶體 - appstat.jvm.systemmemusage:節點機記憶體利用率 - appstat.jvm.systemnetinerrs:節點機接受錯誤判文數 - appstat.jvm.systemnetouterrs:節點機發送錯誤判文數 |
| scheduler | 定時任務 | - appstat.scheduler.rt:已耗用時間 - appstat.scheduler.count:運行次數 - appstat.scheduler.error:運行異常次數 - appstat.scheduler.delay:調度延遲時間 |
前端監控 MetricsType 和AlertRuleContent.AlertRuleItems.MetricKey對應關係
| MetricsType | 指標類型 | AlertRuleContent.AlertRuleItems.MetricKey |
| api | API 指標 | - webstat.api.detail.count:API 請求次數 - webstat.api.detail.fail_time:API 失敗耗時 - webstat.api.detail.fail_uv:報錯 API 的影響使用者數 - webstat.api.detail.success_rate:API 成功率 - webstat.api.detail.success_time:API 成功耗時 |
| page.api | 頁面 API 指標 | - webstat.api.detail.page_api.count:API 請求次數 - webstat.api.detail.page_api.fail_time:API 失敗耗時 - webstat.api.detail.page_api.success_rate:API 成功率 - webstat.api.detail.page_api.success_time:API 成功耗時 |
| page | 頁面指標 | - webstat.api.detail.page_api.fail_uv:報錯 API 的影響使用者數 - webstat.index.pv:頁面訪問量 - webstat.jserror.count:JS 錯誤數 - webstat.jserror.rate:JS 錯誤率 - webstat.msg.top.error_uv:JS 錯誤影響使用者數 - webstat.resource.sum:資源錯誤數 - webstat.satisfy.satisfy:頁面滿意度 - webstat.speed.avg_cfpt:頁面自訂首屏時間 - webstat.speed.avg_ctti:頁面自訂可互動時間 - webstat.speed.avg_dns:頁面 DNS 查詢時間 - webstat.speed.avg_dom:頁面 dom 解析時間 - webstat.speed.avg_fmp:頁面首屏時間 - webstat.speed.avg_fpt:頁面首次渲染耗時 - webstat.speed.avg_load:頁面完全載入時間 - webstat.speed.avg_ready:ready 時間 - webstat.speed.avg_res:頁面資源載入時間 - webstat.speed.avg_ssl:頁面 SSL 建連時間 - webstat.speed.avg_t1:頁面自訂 t1 時間 - webstat.speed.avg_t10:頁面自訂 t10 時間 - webstat.speed.avg_t2:頁面自訂 t2 時間 - webstat.speed.avg_t3:頁面自訂 t3 時間 - webstat.speed.avg_t4:頁面自訂 t4 時間 - webstat.speed.avg_t5:頁面自訂 t5 時間 - webstat.speed.avg_t6:頁面自訂 t6 時間 - webstat.speed.avg_t7:頁面自訂 t7 時間 - webstat.speed.avg_t8:頁面自訂 t8 時間 - webstat.speed.avg_t9:頁面自訂 t9 時間 - webstat.speed.avg_tcp:頁面 tcp 連線時間 - webstat.speed.avg_trans:頁面內容傳輸時間 - webstat.speed.avg_ttfb:頁面網路請求回應時間 - webstat.speed.avg_tti:頁面首次可互動時間 |
| custom | 自訂指標 | - webstat.avg.avg_val:自訂上報均值 - webstat.sum.sum_val:自訂上報求和 |
Prometheus 監控 AlertGroup 和 MetricsKey 對應關係
| AlertGroup | 警示分組 | MetricsKey |
| 1 | Kubernetes 負載 | - prom.workload.container_cpu_usage:容器 CPU 使用率 - prom.workload.job_execute_error:Job 執行失敗 - prom.workload.pod_cpu_usage:Pod 磁碟使用率 - prom.workload.pod_start_timeout:Pod 啟動逾時失敗 - prom.workload.pod_restart_frequent:Pod 頻繁重啟 - prom.workload.pod_status_error:Pod 狀態異常 - prom.workload.container_memory_usage:容器記憶體使用量率 - prom.workload.deployment_pod_survival:Deployment Pod 可用率 |
| 15 | Kubernetes 節點 | - prom.node.node_memory_usage:節點記憶體使用量率 - prom.node.node_cpu_usage:節點 CPU 使用率 - prom.node.node_disk_usage:節點磁碟使用率 - prom.node.node_status_error:節點狀態異常 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回資料結構體 |
||
| RequestId |
string |
請求 ID。 |
337B8F7E-0A64-5768-9225-E9B3CF****** |
| AlertRule |
object |
警示規則對象。 |
|
| AlertId |
integer |
警示規則 ID。 |
5510445 |
| AlertName |
string |
警示規則名稱。 |
arms-test |
| UserId |
string |
使用者 UID。 |
1131971649****** |
| RegionId |
string |
地區 ID。 |
cn-hangzhou |
| AlertType |
string |
警示規則類型:
|
APPLICATION_MONITORING_ALERT_RULE |
| AlertStatus |
string |
警示規則運行狀態。
說明
PAUSED 狀態說明警示規則狀態異常,被系統主動暫停,可能原因有警示規則唯獨值過大或者關聯集群已經被刪除等。 |
RUNNING |
| CreatedTime |
integer |
警示規則建立時間的時間戳記,單位為秒。 |
1641438611000 |
| UpdatedTime |
integer |
警示規則更新時間的時間戳記,單位為秒。 |
1641438611000 |
| Extend |
string |
擴充欄位。 |
{\"alarmContext\":\"{\\\"content\\\":\\\"警示名稱:$警示名稱\\\\n篩選條件: $篩選\\\\n警示時間: $警示時間\\\\n警示內容: $警示內容\\\\n注意!:該警示未收到恢複郵件之前,正在持續警示中,24小時後會再次提醒您!\\\",\\\"subTitle\\\":\\\"\\\"}\",\"alertWays\":\"[0,1]\",\"contactGroupIds\":\"381,5075\",\"notice\":\"{\\\"endTime\\\":1480607940000,\\\"noticeEndTime\\\":1480607940000,\\\"noticeStartTime\\\":1480521600000,\\\"startTime\\\":1480521600000}\"} |
| NotifyStrategy |
string |
通知策略名稱稱。 |
ALERT_MANAGER |
| Pids |
array |
應用監控或前端監控警示關聯應用的 PID。 |
|
|
string |
應用的 PID。 |
b590lhguqs@40d8deedfa9****** |
|
| AutoAddNewApplication |
boolean |
應用監控或前端監控是否開啟新建立應用追加到此警示規則功能。
|
false |
| MetricsType |
string |
應用監控或前端監控警示規則的警示指標類型。 |
JVM |
| AlertRuleContent |
object |
應用監控或前端監控的警示規則內容。 |
|
| Condition |
string |
應用監控或前端監控多個警示條件之間的觸發邏輯。
|
OR |
| AlertRuleItems |
array<object> |
應用監控或前端監控警示規則的警示條件。 |
|
|
object |
警示條件對象。 |
||
| N |
number |
最近 N 分鐘。 |
1 |
| MetricKey |
string |
具體警示條件的指標。 |
JVM非堆總使用記憶體量 |
| Aggregate |
string |
警示條件彙總方式。
|
AVG |
| Operator |
string |
警示條件的判斷條件。
|
CURRENT_GTE |
| Value |
string |
警示條件閾值。 |
1 |
| Filters |
object |
應用監控或前端監控警示規則的過濾項。 |
|
| DimFilters |
array<object> |
應用監控或前端監控警示規則的過濾項資訊。 |
|
|
object |
應用監控或前端監控警示規則的過濾條件對象。 |
||
| FilterKey |
string |
過濾條件 Key。 |
rootIp |
| FilterOpt |
string |
過濾條件操作關係。 |
ALL |
| FilterValues |
array |
過濾條件參數資訊。 |
|
|
string |
過濾條件參數。 |
[] |
|
| CustomSLSFilters |
array<object> |
前端監控警示規則的自訂過濾條件。 |
|
|
object |
自訂過濾條件對象。 |
||
| Key |
string |
過濾條件 Key。 |
username |
| Opt |
string |
過濾條件操作關係。
|
= |
| Value |
string |
過濾條件參數值。 |
test |
| T |
string |
僅用於區分前端監控日誌類型,其它過濾條件不包含此欄位。 |
null |
| Show |
boolean |
此篩選條件是否在前端展示。 |
false |
| CustomSLSGroupByDimensions |
array |
彙總維度資訊。 |
|
|
string |
彙總維度參數值。 |
["page"] |
|
| CustomSLSWheres |
array |
設定的篩選條件資訊。 |
|
|
string |
設定的篩選條件參數值。 |
["t like '%api%'"] |
|
| AlertCheckType |
string |
Prometheus 監控警示規則的警示檢查類型。
|
STATIC |
| ClusterId |
string |
Prometheus 監控警示規則的叢集 ID。 |
ceba9b9ea5b924dd0b6726d2de6****** |
| AlertGroup |
integer |
Prometheus 警示規則的警示分組 ID。
|
-1 |
| PromQL |
string |
Prometheus 警示規則的 PromQL 語句。 |
node_memory_MemAvailable_bytes{} / node_memory_MemTotal_bytes{} * 100 |
| Duration |
string |
Prometheus 警示規則的期間,單位為分鐘。 |
1 |
| Level |
string |
Prometheus 警示規則的等級。
|
P2 |
| Message |
string |
Prometheus 警示規則的警示內容。 |
命名空間: {{$labels.namespace}} / Pod: {{$labels.pod_name}} / 容器: {{$labels.container}} 記憶體使用量率超過80%, 當前值{{ printf \\\"%.2f\\\" $value }}% |
| Labels |
array<object> |
Prometheus 警示規則的標籤。 |
|
|
object |
標籤結構體。 |
||
| Name |
string |
標籤鍵。 |
123 |
| Value |
string |
標籤值。 |
abc |
| Annotations |
array<object> |
Prometheus 警示規則的注釋。 |
|
|
object |
注釋結構體。 |
||
| Name |
string |
注釋鍵。 |
123 |
| Value |
string |
注釋值。 |
abc |
| Tags |
array<object> |
警示規則標籤(阿里雲統一標籤)。 |
|
|
object |
標籤。 |
||
| Key |
string |
標籤鍵。 |
owner |
| Value |
string |
標籤值。 |
John |
| NotifyMode |
string |
通知模式。 |
NORMAL_MODE |
樣本
正常返回樣本
JSON格式
{
"RequestId": "337B8F7E-0A64-5768-9225-E9B3CF******",
"AlertRule": {
"AlertId": 5510445,
"AlertName": "arms-test",
"UserId": "1131971649******",
"RegionId": "cn-hangzhou",
"AlertType": "APPLICATION_MONITORING_ALERT_RULE",
"AlertStatus": "RUNNING",
"CreatedTime": 1641438611000,
"UpdatedTime": 1641438611000,
"Extend": "{\\\"alarmContext\\\":\\\"{\\\\\\\"content\\\\\\\":\\\\\\\"警示名稱:$警示名稱\\\\\\\\n篩選條件: $篩選\\\\\\\\n警示時間: $警示時間\\\\\\\\n警示內容: $警示內容\\\\\\\\n注意!:該警示未收到恢複郵件之前,正在持續警示中,24小時後會再次提醒您!\\\\\\\",\\\\\\\"subTitle\\\\\\\":\\\\\\\"\\\\\\\"}\\\",\\\"alertWays\\\":\\\"[0,1]\\\",\\\"contactGroupIds\\\":\\\"381,5075\\\",\\\"notice\\\":\\\"{\\\\\\\"endTime\\\\\\\":1480607940000,\\\\\\\"noticeEndTime\\\\\\\":1480607940000,\\\\\\\"noticeStartTime\\\\\\\":1480521600000,\\\\\\\"startTime\\\\\\\":1480521600000}\\\"}",
"NotifyStrategy": "ALERT_MANAGER",
"Pids": [
"b590lhguqs@40d8deedfa9******"
],
"AutoAddNewApplication": false,
"MetricsType": "JVM",
"AlertRuleContent": {
"Condition": "OR",
"AlertRuleItems": [
{
"N": 1,
"MetricKey": "JVM非堆總使用記憶體量",
"Aggregate": "AVG",
"Operator": "CURRENT_GTE",
"Value": "1"
}
]
},
"Filters": {
"DimFilters": [
{
"FilterKey": "rootIp",
"FilterOpt": "ALL",
"FilterValues": [
"[]"
]
}
],
"CustomSLSFilters": [
{
"Key": "username",
"Opt": "=",
"Value": "test",
"T": "null",
"Show": false
}
],
"CustomSLSGroupByDimensions": [
"[\"page\"]"
],
"CustomSLSWheres": [
"[\"t like '%api%'\"]"
]
},
"AlertCheckType": "STATIC",
"ClusterId": "ceba9b9ea5b924dd0b6726d2de6******",
"AlertGroup": -1,
"PromQL": "node_memory_MemAvailable_bytes{} / node_memory_MemTotal_bytes{} * 100",
"Duration": "1",
"Level": "P2",
"Message": "命名空間: {{$labels.namespace}} / Pod: {{$labels.pod_name}} / 容器: {{$labels.container}} 記憶體使用量率超過80%, 當前值{{ printf \\\\\\\"%.2f\\\\\\\" $value }}%",
"Labels": [
{
"Name": "123",
"Value": "abc"
}
],
"Annotations": [
{
"Name": "123",
"Value": "abc"
}
],
"Tags": [
{
"Key": "owner",
"Value": "John"
}
],
"NotifyMode": "NORMAL_MODE"
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。