在本集中,我們會將部分自訂資料記錄至 Google Cloud Logging,我們會逐步引導您使用 Python 自訂範例,透過自訂 gRPC 攔截器將要求和回應資料,以及成功狀態和經過時間等中繼資料擷取到自訂記錄中。然後使用 Google Cloud Logging API 將這些記錄檔傳送至雲端。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2022-09-29 (世界標準時間)。"],[[["This episode demonstrates how to log custom data to Google Cloud Logging using Python."],["The example uses a gRPC interceptor to capture request/response data, success status, and elapsed time for logging."],["Custom logs are generated and sent to Google Cloud using the Google Cloud Logging API."]]],[]]