Error Reporting 可汇总并显示您运行的云端服务中产生的错误。使用集中式错误管理界面,您可以找到应用的最常见错误或新错误,以便更快地解决根本原因。
要报告您的应用中的错误,您可以使用正确的格式将这些错误直接发送到 Cloud Logging,也可以调用 Error Reporting API 端点,使其代您发送这些错误。设置过程取决于您的平台;如需了解相关说明,请参阅设置指南。
要报告 Android 和 iOS 客户端应用中的错误,我们建议您设置 Firebase Crashlytics。
获享 $300 免费赠金开始概念验证
-
体验 Gemini 2.0 Flash Thinking
-
免费使用热门产品(包括 AI API 和 BigQuery)的每月用量
-
不会自动收费,无需承诺
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
培训
培训和教程
Google Cloud 基础知识:核心基础架构
这些讲座、演示和实操实验概述了 Google Cloud 产品和服务,以便您了解 Google Cloud 的价值,以及如何将云端解决方案整合到您的业务策略中。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-11。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-11。"],[[["\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--------------"]]