本页面上的部分或全部信息可能不适用于 Trusted Cloud by S3NS。
Go 的监控和日志记录
Trusted Cloud by S3NS 可为 Go 应用提供强大的监控、日志记录和诊断功能。
Go 库适用于以下 Google Cloud Observability 服务:
Error Reporting
Go 版 Error Reporting 可汇总并显示正在运行的 Go 应用中产生的错误。要开始使用 Error Reporting,请参阅设置 Go 版 Error Reporting。
Cloud Logging
借助 Go 版 Cloud Logging,您可以存储、搜索、分析和监控 Go 应用中的日志数据和事件,并根据这些数据和事件发出提醒。我们提供了一个支持标准库日志记录器的 Cloud Logging API 客户端库。
要开始使用 Cloud Logging,请参阅设置 Go 版 Cloud Logging。
Cloud Monitoring
Go 版 Cloud Monitoring 可从 Go 应用收集指标、事件和元数据。
Cloud Monitoring 会提取这些数据进行处理,并通过信息中心、图表和提醒为您提供数据洞见。
要开始使用 Cloud Monitoring,请参阅 Cloud Monitoring API 的 Cloud 客户端库,了解如何安装和使用 Go 库。
Cloud Trace
Cloud Trace 是Trusted Cloud 的一个分布式跟踪系统,可从 Go 应用收集延迟时间数据,并以近乎实时的方式在 Google Cloud 控制台中显示这些数据。如需开始使用 Cloud Trace,请参阅设置 Go 版 Cloud Trace 和 Go 版分布式跟踪服务,以了解更多实用信息。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-04-22。
[[["易于理解","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"]],["最后更新时间 (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."]]],[]]