

AWS Systems Manager Incident Manager 不再開放給新客戶。現有客戶可以繼續正常使用該服務。如需詳細資訊，請參閱[AWS Systems Manager Incident Manager 可用性變更](https://docs.aws.amazon.com/incident-manager/latest/userguide/incident-manager-availability-change.html)。

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 使用 Amazon CloudWatch 監控 Incident Manager 中的指標
<a name="incident-manager-metrics"></a>

Incident Manager 提供您可以在 Amazon CloudWatch 中監控的彙總指標。您可以使用這些指標來識別事件和回應計畫趨勢。

**這些指標包括：**
+ 在指定期間內建立的事件數量
+ 回應和解決這些事件的時間
+ 已解決的事件數量

您可以監控 Incident Manager 指標，以進一步了解您的營運運作狀態，並採取有意義的動作來推動事件回應的卓越營運。Incident Manager 指標適用於所有 Incident Manager 區域。在加入 Incident Manager 時，您的指標將可用於在 Amazon CloudWatch 中檢視您在複寫集中指定的所有區域。您可以在事件採取動作的區域中檢視已發佈的指標。這些指標不收取額外費用。

**在 CloudWatch 主控台上，您可以使用這些指標建置儀表板，以：**
+ 測量和檢閱您現有的事件負載
+ 追蹤您的事件負載是否增加、減少或保持不變
+ 更有效地使用 Incident Manager 來減少事件的頻率、持續時間和影響

此頁面說明 CloudWatch 主控台上可用的 Incident Manager 指標。

**重要**  
對於客戶產生的事件，如果 中的[來源](https://docs.aws.amazon.com/incident-manager/latest/APIReference/API_TriggerDetails.html#IncidentManager-Type-TriggerDetails-source)值使用非 ASCII 字元`TriggerDetails`命名，則事件的指標將不會在 Amazon CloudWatch 指標中報告，這不支援非 ASCII 文字。 `source` 只能以程式設計方式提供，例如使用 SDK 或 AWS CLI。

Incident Manager 會將下列指標傳送至 CloudWatch。


| 指標 | Description | 
| --- | --- | 
| `NumberOfCreateIncidents` | 建立的事件數量。<br />有效維度：【】（空維度）、【`ResponsePlan`】、【`Impact`】、【`Source`】、【】、【`ResponsePlan`、`Impact`】、【`ResponsePlan`、`Source`】<br />單位：計數 | 
| `NumberOfResolveIncidents` | 已解決的事件數量。<br />有效維度：【】（空維度）、【`ResponsePlan`】、【`Impact`】、【`Source`】、【】、【`ResponsePlan`、`Impact`】、【`ResponsePlan`、`Source`】<br />單位：計數 | 
| `TimeToFirstAcknowledgement` | 事件建立時間和第一次確認事件的時間差異。<br />有效維度：【】（空維度）、【`ResponsePlan`】、【`Impact`】、【`Source`】、【】、【`ResponsePlan`、`Impact`】、【`ResponsePlan`、`Source`】<br />單位：秒 | 
| `TimeToResolveIncident` | 事件建立時間與解決時間之間的時間差異。<br />有效維度：】（空維度）、【`ResponsePlan`】、【`Impact`】、【`Source`】、【】、【`ResponsePlan`、`Impact`】、【`ResponsePlan`、`Source`】<br />單位：秒 | 

## 在 CloudWatch 主控台上檢視 Incident Manager 指標
<a name="Viewing-metrics"></a>

**在 CloudWatch 主控台中檢視 Incident Manager 指標**

1. 透過 [https://console.aws.amazon.com/cloudwatch/](https://console.aws.amazon.com/cloudwatch/) 開啟 CloudWatch 主控台。

1. 在導覽窗格中，選擇**指標**。

1. 选择 `IncidentManager` 命名空间。

1. 在**指標**索引標籤上，選擇維度，然後選擇指標。

如需使用 CloudWatch 指標的詳細資訊，請參閱*《Amazon CloudWatch 使用者指南》*中的下列主題：
+ [指標](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Metric)
+ [使用 Amazon CloudWatch 指標](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/working_with_metrics.html)

## 指標的維度
<a name="YourService-metricdimensions"></a>

Incident Manager 指標使用 `IncidentManager` 命名空間，並提供下列維度的指標 （以下維度）：


| 維度 | Description | 
| --- | --- | 
| `By Response Plan` | 依回應計劃檢視彙總指標。 | 
| `By Impact Level` | 依嚴重性等級檢視彙總指標。 | 
| `By Source` | 檢視由 CloudWatch 警示或 EventBridge 事件手動建立之事件的指標。 | 
| `Across All Incidents` | 檢視目前 AWS 區域中所有事件的彙總指標。 | 
| `Response Plan name and Source` | 檢視每個回應計畫和來源組合的彙總指標。 | 
| `Response Plan Name and Impact Level` | 檢視每個回應計劃組合和嚴重性層級的彙總指標。 | 