借助 Go 版 Cloud Logging,您可以存储、搜索、分析和监控 Go 应用中的日志数据和事件,并根据这些数据和事件发出提醒。我们提供了一个支持标准库日志记录器的 Cloud Logging API 客户端库。
要开始使用 Cloud Logging,请参阅设置 Go 版 Cloud Logging。
Cloud Monitoring
Go 版 Cloud Monitoring 可从 Go 应用收集指标、事件和元数据。
Cloud Monitoring 会提取这些数据进行处理,并通过信息中心、图表和提醒为您提供数据洞见。
[[["易于理解","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-22。"],[[["Google Cloud offers comprehensive monitoring, logging, and diagnostic tools specifically designed for Go applications."],["Go applications can leverage Google Cloud's Error Reporting to aggregate and display errors, simplifying the debugging process."],["Cloud Logging for Go allows for the storage, searching, analysis, monitoring, and alerting of log data and events, including support for standard library loggers."],["Cloud Monitoring collects metrics, events, and metadata from Go applications, and presents them via dashboards, charts, and alerts."],["Cloud Trace provides distributed tracing capabilities for Go applications, enabling the collection and near real-time display of latency data in the Google Cloud console."]]],[]]