Error Reporting 會匯總並顯示在執行中的雲端服務中所產生的錯誤。您可以使用集中式錯誤管理介面,找出應用程式的重大錯誤或最新錯誤,以便更快修正根本原因。
您可以將應用程式的錯誤直接傳送至 Cloud Logging,並適當格式化,或是呼叫 Error Reporting API 端點,由該端點為您傳送錯誤。設定程序視您的平台而定;如需操作說明,請參閱設定指南。
如要從 Android 和 iOS 用戶端應用程式回報錯誤,建議設定 Firebase Crashlytics。
使用價值 $300 美元的免費抵免額,開始進行概念驗證
-
取得 Gemini 2.0 Flash Thinking 的存取權
-
每月免費使用 AI API 和 BigQuery 等熱門產品
-
不會自動收費,也不會要求您一定要購買特定方案
繼續探索超過 20 項一律免費的產品
使用超過 20 項實用的免費產品,包括 AI API、VM 和 data warehouse 等。
訓練
訓練與教學課程
Google Cloud 基礎知識:核心基礎架構
透過這些講座、示範和實作實驗室,您可以瞭解 Google Cloud 產品與服務,進而瞭解 Google Cloud 的價值,以及如何將雲端式解決方案納入業務策略中。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-09-03 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-03 (世界標準時間)。"],[[["\u003cp\u003eError Reporting centralizes errors from your cloud services, allowing you to quickly identify and resolve the root causes of top or new errors.\u003c/p\u003e\n"],["\u003cp\u003eErrors can be reported directly to Cloud Logging with proper formatting or via an Error Reporting API endpoint.\u003c/p\u003e\n"],["\u003cp\u003eSetup guides are available for various platforms and languages, including Go, Java, Node.js, PHP, Python, Ruby, .NET, App Engine, Cloud Functions, and more.\u003c/p\u003e\n"],["\u003cp\u003eFirebase Crashlytics is the recommended solution for reporting errors from Android and iOS client applications.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation offers resources such as quickstarts, guides, references, and troubleshooting information, along with details on quotas, pricing, and release notes.\u003c/p\u003e\n"]]],[],null,["# Error Reporting documentation\n=============================\n\n[Read product documentation](/error-reporting/docs/grouping-errors) **Error Reporting** aggregates and displays errors produced in your running cloud\nservices. Using the centralized error management interface, you can find your application's top or\nnew errors so that you can fix the root causes faster.\n\nYou can report errors from your application by sending them directly to Cloud Logging with\n[proper formatting](/error-reporting/docs/formatting-error-messages) or by calling an\n[Error Reporting API](/error-reporting/reference) endpoint that sends them\nfor you. The setup process depends on your platform; for instructions, see\n[Setup guides](/error-reporting/docs/setup).\n\nTo report errors from Android and iOS client applications, we recommend setting\nup [Firebase Crashlytics](https://firebase.google.com/docs/crashlytics).\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n-\n\n [Quickstart: Check a crashed app for errors by using Error Reporting](/error-reporting/docs/check-app-crash)\n\n-\n\n\n Set up Error Reporting on these languages:\n [Go](/error-reporting/docs/setup/go),\n\n [Java](/error-reporting/docs/setup/java),\n\n [Node.js](/error-reporting/docs/setup/nodejs),\n\n [PHP](/error-reporting/docs/setup/php),\n\n [Python](/error-reporting/docs/setup/python),\n\n [Ruby](/error-reporting/docs/setup/ruby),\n or\n [.NET](/error-reporting/docs/setup/dotnet)\n\n\n-\n\n\n Set up Error Reporting by platform:\n [App Engine flexible environment](/error-reporting/docs/setup/app-engine-flexible-environment),\n\n [App Engine standard environment](/error-reporting/docs/setup/app-engine-standard-environment),\n\n [Apps Script](/error-reporting/docs/setup/apps-script),\n\n [Cloud Functions](/error-reporting/docs/setup/cloud-functions),\n\n [Cloud Run](/error-reporting/docs/setup/cloud-run),\n\n [Compute Engine](/error-reporting/docs/setup/compute-engine),\n or\n [Kubernetes Engine](/error-reporting/docs/setup/kubernetes-engine)\n\n\n-\n\n [View errors](/error-reporting/docs/viewing-errors)\n\n-\n\n [Configure and manage notifications](/error-reporting/docs/notifications)\n\n-\n\n [Manage errors](/error-reporting/docs/managing-errors)\n\n-\n\n [Format errors in logs](/error-reporting/docs/formatting-error-messages)\n\n-\n\n [Troubleshoot](/error-reporting/docs/troubleshooting)\n\nfind_in_page\n\n### Reference\n\n-\n\n [Overview](/error-reporting/reference)\n\n-\n\n [REST API](/error-reporting/reference/rest)\n\n-\n\n [Error Reporting client libraries](/error-reporting/docs/reference/libraries)\n\ninfo\n\n### Resources\n\n-\n\n [Quotas and limits](/error-reporting/quotas)\n\n-\n\n [Pricing](https://cloud.google.com/stackdriver/pricing#error-report-costs)\n\n-\n\n [Release notes](/error-reporting/docs/release-notes)\n\nRelated resources\n-----------------\n\nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training \nTraining and tutorials\n\n### Google Cloud Fundamentals: Core Infrastructure\n\n\nThese lectures, demos, and hands-on labs give you an overview of Google Cloud products and services so that you can learn the value of Google Cloud and how to incorporate cloud-based solutions into your business strategies.\n\n\n[Learn more](/training/course/core-infrastructure)\n\nRelated videos\n--------------"]]