總覽
Google Cloud Observability 為 PHP 應用程式提供強大的監控、記錄與診斷功能。
下列 Stackdriver 服務可以使用 PHP 資料庫:
Error Reporting
PHP 適用的 Error Reporting 會匯總並顯示運作中 PHP 應用程式產生的錯誤。如要開始使用 Error Reporting,請參閱設定 PHP 適用的 Error Reporting。
Cloud Logging
PHP 適用的 Cloud Logging 可讓您儲存、搜尋、分析及監控 PHP 應用程式中的記錄檔資料和事件,並接收相關快訊。我們提供 Bunyan 和 Winston 外掛程式,以及 Stackdriver Logging API 用戶端程式庫。如要開始使用 Cloud Logging,請參閱「設定 PHP 適用的 Cloud Logging」一文。
Cloud Monitoring
PHP 適用的 Cloud Monitoring 會收集 PHP 應用程式的指標、事件和中繼資料。Stackdriver 擷取上述資料後,可透過資訊主頁、圖表和快訊提供深入分析。
連結:
Cloud Trace
Cloud Trace 是Google Cloud 的分散式追蹤系統,可收集 PHP 應用程式的延遲資料,並以近乎即時的方式顯示在 Google Cloud 控制台中。如要開始使用 Cloud Trace,請參閱「PHP 適用的 Stackdriver Trace」。