PHP 觀測能力總覽

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 外掛程式,以及 PHP 適用的 Cloud 用戶端程式庫。如要開始使用 Cloud Logging,請參閱「設定 PHP 適用的 Cloud Logging」。

Cloud Monitoring

PHP 適用的 Cloud Monitoring 會收集 PHP 應用程式的指標、事件和中繼資料。擷取上述資料後,Cloud Monitoring 會透過資訊主頁、圖表和警告提供洞察資料。

連結:

Cloud Trace

Cloud Trace 是Google Cloud 的分散式追蹤系統,可收集 PHP 應用程式的延遲資料,並近乎即時地顯示在 Google Cloud 控制台中。如要開始使用 Cloud Trace,請參閱 PHP 說明文件中的「PHP 適用的 Stackdriver Trace」。