

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

# 使用 CloudWatch 監控 Amazon Connect 執行個體
<a name="monitoring-cloudwatch"></a>

Amazon Connect 會傳送執行個體的相關資料至 CloudWatch 指標，方便您收集、檢視和分析 Amazon Connect 虛擬聯絡中心的 CloudWatch 指標。您可以運用此資料來監控關鍵的運作指標並設置警示。聯絡中心的相關資料每隔 1 分鐘就會送至 CloudWatch。

當您檢視 CloudWatch 指標儀表板時，可指定顯示資料重新整理的間隔。儀表板上顯示的數值會反映您設定的重新整理間隔內的數值。舉例而言，如果您將重新整理間隔設為 1 分鐘，則顯示的即是一分鐘內的數值。您可以選擇 10 秒鐘的重新整理間隔，但 Amazon Connect 最多只會以 1 分鐘的間隔傳送資料。傳送至 CloudWatch 的指標可供使用兩週，之後即會廢棄。如需有關 CloudWatch 指標的詳細資訊，請參閱 [Amazon CloudWatch 使用者指南](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/)。

**注意**  
如果您的 Amazon Connect 執行個體是在 2018 年 10 月或之前建立的，您需要向 Amazon Connect 授予權限，才能開始將聊天指標發佈到您的 CloudWatch 帳戶。若要這麼做，請建立具有下列權限的 IAM 政策，並將其附加到 Amazon Connect 服務角色。您可以在 Amazon Connect 執行個體的**帳戶概觀**頁面上找到 Amazon Connect 服務角色。  

```
{
  "Effect": "Allow",
  "Action": "cloudwatch:PutMetricData",
  "Resource": "*",
  "Condition": {
    "StringEquals": {
      "cloudwatch:namespace": "AWS/Connect"
    }
  }
}
```

## Amazon Connect 指標傳送至 CloudWatch
<a name="connect-metrics-cloudwatch"></a>

`AWS/Connect` 命名空間包含下列指標。


| 指標 | Description | 
| --- | --- | 
| CallsBreachingConcurrencyQuota | 已超過執行個體的並行通話數配額的語音通話總次數。超過配額的通話總數，請查看「總和」統計資訊。<br />例如，假設聯絡中心遇到下列磁碟區，而服務配額為 100 個並行通話：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html)<br />CallsBreachingConcurrencyQuota = 110: 已超過介於 0:00 與 0:10 之間的配額的語音通話總次數。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| CallBackNotDialableNumber | 由於客戶的電話號碼位在執行個體無法外撥電話的國家/地區，導致排入佇列的回電無法撥出的次數。執行個體允許的國家/地區是由服務配額所定義。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| CallRecordingUploadError | 無法上傳至設定給您的執行個體使用之 Amazon S3 儲存貯體的通話錄音數量。此為執行個體的 **Data Storage (資料儲存體)** > **Call Recordings (通話錄音)** 設定所指定的儲存貯體。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| CallsPerInterval | 執行個體每秒接收或建立的語音通話次數，接聽和外撥均包含在內。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| ChatsBreachingActiveChatQuota | 為開始聊天而發出的有效要求總數，超出執行個體的同時作用中聊天配額。有關違反配額的聊天請求總數，請查看總和統計數據。<br />例如，假設聯絡中心遇到下列磁碟區，而服務配額為 2500 個並行作用中的聊天：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html)<br />聊天突破活動聊天空間 = 110：0：00 到 0：10 之間超過配額的聊天總數。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| ConcurrentActiveChats | 當資料顯示在儀表板上時，執行個體中[並行有效聊天](amazon-connect-service-limits.md)的數量。該指標所顯示的數值是儀表板顯示時的並行有效聊天數量，而非所設的重新整理間隔整段時間內的總和。所有作用中聊天均包含在內，不只是連線至客服的作用中聊天。<br />雖然 CloudWatch 中有並行作用中聊天的所有統計資料，但您可能最想查看 Maximum/Average (最大/平均) 統計資料。Sum (總和) 統計資訊在此處並不實用。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| ConcurrentActiveChatsPercentage | 執行個體所用的並行有效聊天服務配額的百分比。計算方式如下：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html)<br />其中 ConfiguredConcurrentActiveChatsLimit 是針對您的執行個體設定的每個執行個體的並行作用中聊天。<br />單位：百分比 (輸出顯示為整數。 例如，1% 的聊天記錄顯示為 1，而不是 0.01。)<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| ConcurrentCalls | 當資料顯示在儀表板上時，執行個體中並行有效語音通話的數量。該指標所顯示的數值是儀表板顯示時的並行有效通話數量，而非所設的重新整理間隔整段時間內的總和。全部的有效語音通話均包含在內，不單只是連接至客服人員的有效通話。<br />雖然 CloudWatch 中有並行語音呼叫的所有統計資料，但您可能最想查看 Maximum/Average (最大/平均) 統計資料。Sum (總和) 統計資訊在此處並不實用。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| ConcurrentCallsPercentage | 執行個體所用的並行有效語音通話服務配額的百分比。計算方式如下：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html)<br />單位：百分比 (輸出會顯示為十進位)<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| ConcurrentEmails | 這是處於作用中狀態的 Amazon Connect 執行個體中所有電子郵件聯絡人的總計。處於作用中狀態的電子郵件聯絡人包括：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html)<br />範例：佇列中的 200 封電子郵件 \+ 指派給 10 個客服人員的電子郵件 \+ 由客服人員傳送的 5 封外寄電子郵件 （回覆或客服人員起始） = 執行個體中的 215 封並行作用中電子郵件 ConcurrentEmails 的資料每 5 分鐘便會傳送至 CloudWatch。 <br />當資料顯示在儀表板上時，執行個體中並行作用中電子郵件的數量。該指標所顯示的數值是儀表板顯示時的並行作用中電子郵件數量，而非所設定重新整理間隔的整個間隔總和。所有作用中電子郵件均包含在內，不只是連線至客服的作用中電子郵件。<br />雖然 CloudWatch 中提供並行電子郵件的所有統計資料，但您可能最想查看最大值/平均值統計資料。Sum (總和) 統計資訊在此處並不實用。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| ConcurrentEmailsPercentage | 執行個體中使用的並行作用中電子郵件服務配額的百分比。計算方式如下：<br />ConcurrentEmails / ConfiguredConcurrentEmailsLimit<br />其中 ConfiguredConcurrentEmailsLimit 是為每個[執行個體設定的並行作用中電子郵件](amazon-connect-service-limits.md#connect-quotas)。我們建議您遵循 Amazon Connect [持續操作管理](plan-ahead-quotas.md#production-environment-go-live-quotas)方法，將警示設定為配額限制的 80%，以通知您何時[請求提高配額](https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html)。 ConcurrentEmailsPercentage 的資料每 5 分鐘便會傳送至 CloudWatch。 <br />雖然 CloudWatch 中提供並行電子郵件的所有統計資料，但您可能最想查看最大值/平均值統計資料。Sum (總和) 統計資訊在此處並不實用。<br />單位：百分比<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| ConcurrentTasks |  ConcurrentTasks 的資料每 5 分鐘便會傳送至 CloudWatch。 當資料顯示在儀表板上時，執行個體中並行有效任務的數量。該指標所顯示的數值是儀表板顯示時的並行有效任務數量，而非所設的重新整理間隔整段時間內的總和。全部的有效作用中任務均包含在內，不單只是連接至客服人員的有效任務。<br />雖然 CloudWatch 中有並行任務的所有統計資料，但您可能最想查看 Maximum/Average (最大/平均) 統計資料。Sum (總和) 統計資訊在此處並不實用。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| ConcurrentTasksPercentage |  ConcurrentTasksPercentage 的資料每 5 分鐘便會傳送至 CloudWatch。 執行個體所用的並行有效任務服務配額的百分比。計算方式如下：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html)<br />其中已設定並行存取是針對您的執行個體設定的[每個執行個體處理的並行作業](amazon-connect-service-limits.md)。<br />單位：百分比<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| ContactFlowErrors | 執行的流程錯誤分支的次數。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| ContactFlowFatalErrors | 流程因為系統錯誤而無法執行的次數。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| LongestQueueWaitTime | 聯絡案例在佇列中等待的最長時間，以秒計。此數值為聯絡案例在 CloudWatch 儀表板所設的重新整理間隔內 (如 1 分鐘或 5 分鐘) 於佇列等待的最長時間。<br />單位：秒<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| MissedCalls | 客服人員在訂定的重新整理時間內 (如 1 分鐘或 5 分鐘) 漏接的語音來電次數。漏接來電指的是客服人員未在 20 秒內接聽的來電。<br />若要監控指定時段內的漏接通話總數，請查看 CloudWatch 中的 Sum (總和) 統計資料。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| MisconfiguredPhoneNumbers | 由於電話號碼並未與流程建立關聯，因而失敗的通話數。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| PublicSigningKeyUsage | 在流程中使用流程安全金鑰 (公有簽署金鑰) 加密客戶輸入資訊的次數。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| QueueCapacityExceededError | 由於佇列已滿而遭拒的通話數。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| QueueSize | 佇列中的聯絡人數量。此數值反映的是存取儀表板時佇列中的聯絡案例數，而非回報間隔整段期間內的數量。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| SuccessfulChatsPerInterval | 在定義的間隔內，在執行個體中成功啟動的聊天數。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| TasksBreachingConcurrencyQuota | 已超過執行個體的並行任務數配額的任務總次數。如需違反配額的工作總數，請查看 Sum 統計資料。<br />例如，假設聯絡中心遇到下列磁碟區，而服務配額為 2500 個並行任務：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html)<br /> 工作超出並行配額 = 110：超過 0:00 到 0:10 之間配額的工作總數。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| TasksExpired |  作用中 7 天後已過期的工作。<br />若要監控在指定時間段內過期的工作總數，請查看 CloudWatch 中的總和統計資料。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| TasksExpiryWarningReached | 6 天 22 小時有效且達到到期警告限制的任務。<br />若要監控指定時段內達到到期警告限制的工作總數，請查看 CloudWatch 中的總和統計資料。<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| ThrottledCalls | 因為每秒通話速度超過最大支援配額而遭拒絕的語音通話數量。若要提高支援的通話速率，請要求提高每個執行個體之並行有效通話的服務配額。<br />若要監控指定時段內的受節制通話總數，請查看 CloudWatch 中的 Sum (總和) 統計資料。<br />單位：秒<br />單位：計數<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 
| ToInstancePacketLossRate | 執行個體中通話封包遺失的比率，每 10 秒報告一次。每個資料點介於 0 與 100 之間。執行個體中通話的封包遺失率顯示為介於 0 與 1 之間的百分比。<br />單位：百分比<br />維度：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/monitoring-cloudwatch.html) | 

## Amazon Connect CloudWatch 指標維度
<a name="connect-cloudwatch-dimensions"></a>

在 CloudWatch 中，維度是可唯一識別指標的名稱/值組。在儀表板中，指標是按維度分組。當您查看儀表板中的指標資料時，您只會看到包含資料的指標。如果在具有指標的重新整理間隔期間沒有活動，則執行個體中的任何資料完全不會顯示在儀表板上。

以下是在 CloudWatch 儀表板中用於 Amazon Connect 指標的維度。

### 流程指標維度
<a name="contact-flow-dimension"></a>

**注意**  
流程名稱必須只包含下列字元，才能在 CloudWatch 中顯示名稱：英數字元 (0-9A-Za-z) . , - \_ / \# : $ @ \| & { } \+ ? %，以及空格字元。

依流程篩選指標資料。包含以下指標：
+ ContactFlowErrors
+ ContactFlowFatalErrors
+ PublicSigningKeyUsage

### 聯絡指標維度
<a name="contact-metrics-dimension"></a>

依聯絡人篩選指標資料。包含以下指標：
+ TasksExpiryWarningReached
+ TasksExpired

### 執行個體指標維度
<a name="instance-metrics-dimension"></a>

依執行個體篩選中繼資料。包含以下指標：
+ CallsBreachingConcurrencyQuota
+ CallsPerInterval
+ CallRecordingUploadError
+ ChatsBreachingActiveChatQuota
+ ConcurrentActiveChats
+ ConcurrentActiveChatsPercentage
+ ConcurrentCalls
+ ConcurrentCallsPercentage
+ ConcurrentEmails
+ ConcurrentEmailsPercentage
+ ConcurrentTasks
+ ConcurrentTasksPercentage
+ MisconfiguredPhoneNumbers
+ MissedCalls
+ SuccessfulChatsPerInterval
+ TasksBreachingConcurrencyQuota
+ ThrottledCalls

### 執行個體 ID、參與者、串流類型、連線類型
<a name="stream-type-dimension"></a>

依連線篩選指標資料。包含以下指標：
+ ToInstancePacketLossRate

### 佇列指標維度
<a name="queue-metrics-dimension"></a>

**注意**  
 佇列名稱必須只包含下列字元，才能在 CloudWatch 中顯示名稱：英數字元 (0-9A-Za-z) . , - \_ / \# : $ @ \| & { } \+ ? %，以及空格字元。

依佇列篩選指標資料。包含以下指標：
+ CallBackNotDialableNumber
+ LongestQueueWaitTime
+ QueueCapacityExceededError
+ QueueSize

## Amazon Connect Voice ID 指標傳送至 CloudWatch
<a name="voiceid-metrics-cloudwatch"></a>

`VoiceID` 命名空間包含下列指標。

**RequestLatency**  
要求的經過時間。  
頻率：1 分鐘  
單位：毫秒  
維度：API

**UserErrors**  
由於來自用戶的錯誤請求而導致的錯誤計數。  
頻率：1 分鐘  
單位：計數  
維度：API

**SystemErrors**  
由於內部服務錯誤而導致的錯誤計數。  
頻率：1 分鐘  
單位：計數  
維度：API

**Throttles**  
因超過傳送要求所允許的最大速率而遭拒的要求數目。  
頻率：1 分鐘  
單位：計數  
維度：API

**ActiveSessions**  
網域中作用中工作階段的數量。作用中工作階段是處於擱置中或進行中狀態的工作階段。  
頻率：1 分鐘  
單位：計數  
Dimension：網域

**ActiveSpeakerEnrollmentJobs**  
網域中作用中的批次參與工作數目。作用中的工作是指處於「Pending」或「InProgress」狀態的工作。  
頻率：15 分鐘  
單位：計數  
Dimension：網域

**ActiveFraudsterRegistrationJobs**  
網域中作用中的批次註冊工作數目。作用中的工作是指處於「Pending」或「InProgress」狀態的工作。  
頻率：15 分鐘  
單位：計數  
Dimension：網域

**Speakers**  
網域中的發言人數。  
頻率：15 分鐘  
單位：計數  
Dimension：網域

**Fraudsters**  
網域中的詐騙者數量。  
頻率：15 分鐘  
單位：計數  
Dimension：網域

## Amazon Connect Voice ID 指標維度
<a name="voiceid-cloudwatch-dimensions"></a>

以下是在 CloudWatch 儀表板中用於 Amazon Connect Voice ID 指標的維度。當您查看儀表板中的指標資料時，您只會看到包含資料的指標。如果在具有指標的重新整理間隔期間沒有活動，則執行個體中的任何資料完全不會顯示在儀表板上。

### API 指標維度
<a name="voiceid-api-dimension"></a>

此維度將資料限制為下列其中一項語音 ID 操作：
+ DeleteFraudster
+ EvaluateSession
+ ListSpeakers
+ DeleteSpeaker
+ OptOutSpeaker

### 網域指標維度
<a name="voiceid-domain-dimension"></a>

進行註冊、驗證或註冊的語音 ID 網域。

## 傳送至 CloudWatch 的 Amazon AppIntegrations 指標
<a name="appintegrations-metrics-cloudwatch"></a>

`AWS/AppIntegrations` 命名空間包含下列指標。

**RecordsDownloaded**  
成功下載作為資料整合 AppFlow 流程執行一部分的記錄數目。  
頻率：1 分鐘  
單位：計數  
有效統計資訊：上限、總和、下限、平均數

**RecordsFailed**  
作為資料整合執行 AppFlow 流程的一部分而無法下載的記錄數目。  
頻率：1 分鐘  
單位：計數  
有效統計資訊：上限、總和、下限、平均數

**DataDownloaded**  
作為資料整合執行 AppFlow 流程的一部分而成功下載的位元組數。  
頻率：1 分鐘  
單位：位元組  
有效統計資訊：上限、總和、下限、平均數

**DataProcessingDuration**  
處理和下載資料做為資料整合的單一 AppFlow 流程執行的一部分所花費的時間。  
頻率：1 分鐘  
單位：毫秒  
有效統計資訊：上限、總和、下限、平均數

**EventsReceived**  
從您的協力廠商來源應用程式 (Salesforce、Zendesk) 成功發出並在事件匯流排上接收的事件數目。  
頻率：1 分鐘  
單位：計數  
有效統計資訊：上限、總和、下限、平均數

**EventsProcessed**  
成功處理和轉送的事件數目，以便根據您在事件整合上設定的規則進行評估。  
頻率：1 分鐘  
單位：計數  
有效統計資訊：上限、總和、下限、平均數

**EventsThrottled**  
因為發出事件的速率超過支援的最大配額，所以限制的事件數目。  
頻率：1 分鐘  
單位：位元組  
有效統計資訊：上限、總和、下限、平均數

**EventsFailed**  
由於格式錯誤或不支援的協力廠商事件，以及其他處理錯誤而無法處理的事件數目。  
頻率：1 分鐘  
單位：位元組  
有效統計資訊：上限、總和、下限、平均數

**EventProcessingDuration**  
根據您在事件整合上設定的規則，順利處理及轉送要評估的事件所花的時間。  
頻率：1 分鐘  
單位：毫秒  
有效統計資訊：上限、總和、下限、平均數

## Amazon AppConnect 指標維度
<a name="appintegrations-dimensions-cloudwatch"></a>

您可以使用下列維度來強化 AppIntemension [指標](#appintegrations-metrics-cloudwatch)。


| 維度 | Description | 
| --- | --- | 
| AccountId | AWS 帳戶 ID | 
| ClientId | 客戶的服務主體 | 
| IntegrationARN | ARN 的事件或資料整合 | 
| IntegrationType | 資料整合或事件整合 | 
| Region | 資料或事件整合的區域 | 

## Connect Customer 客戶設定檔指標
<a name="customer-profiles-metrics-cloudwatch"></a>

`AWS/CustomerProfiles` 命名空間包含下列指標。

**即時匯出指標傳至 CloudWatch**

針對每個匯出任務，下列兩個指標都會發佈至 CloudWatch。這些指標將提供匯出串流任務的相關資訊，並可讓您根據使用案例設定 Kinesis 串流。在限制的情況下，這些指標可讓您佈建 Kinesis 串流，以確保將交付到目的地。

**EventsProcessed**  
成功串流至 Kinesis 串流的記錄數目。  
單位：計數

**EventsThrottled**  
遇到節流例外狀況的 PutRecord 嘗試次數。  
單位：計數

## Connect Customer 客戶設定檔指標維度
<a name="customer-profiles-dimensions-cloudwatch"></a>

您可以使用下列維度來強化客戶描述檔[指標](#customer-profiles-metrics-cloudwatch)。


| 維度 | Description | 
| --- | --- | 
| DomainName | 客戶設定檔網域名稱 | 
| DestinationType | 目的地類型。可用值為：Kinesis | 
| DestinationName | 目的地名稱。Kinesis 資料串流目的地類型的名稱：Kinesis。 | 

## 使用 CloudWatch 指標來計算並行通話配額
<a name="connect-cloudwatch-concurrent-call-quota"></a>

**重要**  
**ConcurrentCallsPercentage** 計算資訊與 **ConcurrentTasksPercentage** 和 **ConcurrentChatPercentage** 不同。  
**ConcurrentCallsPercentage** 所發出的指標以十進位為單位，而不是乘以 100。量度代表總配額的百分比。
對於 **ConcurrentTasksPercentage** 和 **ConcurrentChatPercentage**，值會乘以 100。這會提供您的總配額。
發出的指標是正確的，而且資料沒有差異。

以下是並行通話配額用量的計算方法。

系統中有使用中的通話時，請查看 **ConcurrentCalls** 和 **ConcurrentCallsPercentage**。計算您已使用多少配額：
+ (ConcurrentCalls / ConcurrentCallsPercentage)

例如，如果 **ConcurrentCalls** 為 20，而 **ConcurrentCallsPercentage** 為 50，則您的配額用量會計算為 (20/0.5) = 40。您的總配額是 40 個通話。

## 使用 CloudWatch 指標計算並行使用中聊天配額
<a name="connect-cloudwatch-concurrent-chat-quota"></a>

以下是並行作用中聊天配額的計算方法。

系統中有使用中的聊天時，請查看 **ConcurrentActiveChats** 和 **ConcurrentChatsPercentage**。計算配額：
+ (ConcurrentActiveChats / ConcurrentActiveChatsPercentage) \* 100

例如，如果 **ConcurrentActiveChats** 為 1000，而 **ConcurrentActiveChatsPercentage** 為 50，則您的配額會計算為 (1000/50)\*100 = 2000。您的總配額是 2000 次聊天。

## 使用 CloudWatch 指標來計算並行任務配額
<a name="connect-cloudwatch-concurrent-task-quota"></a>

以下是並行任務配額的計算方法。

系統中有使用中的任務時，請查看 **ConcurrentTasks** 和 **ConcurrentTasksPercentage**。計算配額：
+ (ConcurrentTasks / ConcurrentTasksPercentage)\*100

例如，如果 **ConcurrentTasks** 為 20，而 **ConcurrentTasksPercentage** 為 50，則您的配額會計算為 (20/50)\*100 = 40。您的總配額是 40 個任務。

## 使用 CloudWatch 指標來計算並行電子郵件配額
<a name="connect-cloudwatch-concurrent-email-quota"></a>

以下是並行電子郵件配額的計算方法。

系統中有作用中的任務時，請查看 **ConcurrentEmails** 和 **ConcurrentEmailsPercentage**。計算配額：
+ (ConcurrentEmails / ConcurrentEmailsPercentage)\*100

例如，如果 **ConcurrentEmails** 為 20，而 **ConcurrentEmailsPercentage** 為 50，則您的配額會計算為 (20/50)\*100 = 40。您的總配額是 40 封電子郵件。