系統會提供與 Google Cloud Monitoring 整合相關的實用使用指標。使用 Cloud Monitoring 建立資訊主頁和小工具、設定快訊,以及透過程式輔助方式存取指標資料。
資訊主頁
「Google Cloud Monitoring dashboard」頁面會顯示下列預先定義的資訊主頁,其中顯示了整合項目的各種圖表和指標。
- Google Home Analytics:顯示所有整合的匯總指標。
- Google Home Analytics - 雲端整合:顯示 Cloud-to-cloud 整合的詳細指標和執行要求統計資料。
- Google Home Analytics - 本機整合:顯示 Local Home SDK 整合的詳細指標和執行要求統計資料。
- Google Home Analytics - Matter 整合:顯示 Matter 整合的詳細指標和執行要求統計資料。
- Google Home Analytics - 相機品質:顯示相機的其他指標和執行要求統計資料,包括 WebRTC 等串流通訊協定的疑難排解指標。
您也可以瀏覽範例媒體庫或自行建立。
存取資訊主頁
存取 Monitoring dashboard 的方法有好幾種,也稱為 Analytics (分析)。
- 如要從 Actions on Google Console 存取 Cloud Monitoring,請選取專案,然後依序按一下「Analytics」(分析) >「Go to Google Cloud Platform」(前往 Google Cloud Platform)。
- 如要從 Google Cloud Console 存取 Cloud Monitoring,請按一下「View all products」,然後前往「Operations」 >「Monitoring」。
- 最後,您可以直接前往 Monitoring 資訊主頁。下方按鈕會將您導向最近存取的 Google Cloud 專案的資訊主頁:
Monitoring dashboard
預設值和瀏覽權限
您必須具備過去 14 天內的專案指標可用,預先定義的資訊主頁才會顯示。
資訊主頁圖表預設為過去 1 小時。如果資料未顯示,請使用「TIME」選項來調整時間範圍。
支援的指標
Cloud Monitoring 會監控 assistant_action_project
資源類型,並提供下列指標:
指標 | 種類 | 說明 |
---|---|---|
smarthome_action/request_count |
刪除 |
標有 execution_type 、status 和 trait 標籤的意圖要求數量。execution_type (字串):智慧型住宅意圖類型。
status (字串):要求的結果。
trait (字串):智慧住宅裝置特徵。沒有相關聯特徵的事件會加入 UNKNOWN 標籤。 |
smarthome_action/request_latencies |
CUMULATIVE、DISTRIBUTION |
意圖要求的延遲時間分佈情形,標有 execution_type 、status 和 trait 標籤。execution_type (字串):智慧型住宅意圖類型。
status (字串):要求的結果。
trait (字串):智慧住宅裝置特徵。沒有相關聯特徵的事件會加入 UNKNOWN 標籤。 |
smarthome_action/num_active_users |
Google 專家 |
標籤為 trait 的每日活躍使用者。
trait (字串):智慧住宅裝置特徵。沒有相關聯特徵的事件會加入 UNKNOWN 標籤。 |
smarthome_action/seven_day_active_users |
Google 專家 |
套用 trait 標籤的每週活躍使用者人數。
trait (字串):智慧住宅裝置特徵。沒有相關聯特徵的事件會加入 UNKNOWN 標籤。 |
smarthome_action/twenty_eight_day_active_users |
Google 專家 |
加上 trait 標籤的每月活躍使用者人數。
trait (字串):智慧住宅裝置特徵。沒有相關聯特徵的事件會加入 UNKNOWN 標籤。 |
如要查看和查詢指標,請按一下 Cloud Monitoring 中的 Metrics explorer。
相關資源
如要進一步瞭解如何在專案中使用 Cloud Monitoring,請參閱下列說明文件: