借助 Error Reporting,您可以自动捕获应用崩溃并将这些崩溃的堆栈轨迹分组到错误组中,以识别、了解和管理应用错误。但是,某些 Google Cloud服务错误会被记录为错误消息,不会以堆栈轨迹的形式提供。Error Reporting 的服务错误功能会自动捕获这些类型的 Google Cloud 服务错误并对其进行分组,以便您快速识别系统中的问题并在出现新错误时收到通知。
例如,您在使用 Cloud Run 时可能会遇到以下情况:在发出请求时达到容器实例数上限。当此事件记录到 Cloud Logging 中时,Error Reporting 中的服务错误会自动捕获此错误,将其与类似错误归为一组,并通知您此事件的发生。此外,为帮助解决这些错误,一些 Google Cloud 服务提供了问题排查文档,您可以从 Error Reporting 页面访问这些文档。
[[["易于理解","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-04-01。"],[[["Error Reporting automatically captures and groups application crashes and stack traces, and can also capture errors from Google Cloud services."],["Service Errors in Error Reporting identifies Google Cloud service errors logged as messages, grouping similar ones to facilitate problem identification and notification."],["Error Reporting offers access to troubleshooting documentation from certain Google Cloud services, aiding in error resolution."],["The Error Reporting console displays service errors, including information in the \"Type\" column when a new service error is detected."],["Service Errors captures various issues from different Google Cloud services, such as Dataflow's worker throttling and Cloud Run's memory limit exceeded errors, among many others."]]],[]]