使用 Statuspage 监控 Google 云平台
Monitoring Google Cloud Platform with Statuspage
我想将我的 Google Cloud Platform 集成到 Atlassian 的 Statuspage。我一直在想,如果我的应用程序中没有 API 设置,我该如何监控我的实例。我想创建一个脚本来检查服务器连接并在脚本中设置 API。
有什么建议吗?
谢谢。
四处寻找,似乎确实无法将GCP与Atlassian StatusPage集成。
我认为对您来说最好的选择是使用 Stackdriver Monitoring. As per the Google official documentation Introduction to the Stackdriver Monitoring API:
The Monitoring API v3 gives you access to over 1,000 Stackdriver Monitoring metrics from Google Cloud and Amazon Web Services. You can create your own custom metrics and can organize your cloud resources using groups.
我建议您看一下它,因为它似乎是您监控实例健康状况的最佳选择。
如果这些信息对您有帮助,请告诉我!
@gso_gabriel 答案不正确。您可以配置 GCP alerts 以触发特定的 PagerDuty 服务。然后您可以连接 StatusPage 以响应对 PagerDuty 的更改。
要做到这一点,可以:
- 创建 StatusPage 项目,创建所有服务以监控
- 创建一个PagerDuty项目,创建所有组件以监控
- 使用 PagerDuty 在 GCP 上创建一个新的通知通道,并添加从 PagerDuty 生成的服务密钥,该密钥是在创建新的服务时获得的并将其与 StackDriver
集成
- 使用 PagerDuty 渠道创建 GCP 正常运行时间检查 和相关 警报。
- Link PagerDuty 通过 StatusPage 到 StatusPage apps
- 在 StatusPage 上的 PagerDuty 应用程序上配置规则
- (可选)在 StatusPage 上配置 PagerDuty 应用并编辑 规则 以根据预先创建的 模板 打开和关闭事件。
我想将我的 Google Cloud Platform 集成到 Atlassian 的 Statuspage。我一直在想,如果我的应用程序中没有 API 设置,我该如何监控我的实例。我想创建一个脚本来检查服务器连接并在脚本中设置 API。
有什么建议吗?
谢谢。
四处寻找,似乎确实无法将GCP与Atlassian StatusPage集成。
我认为对您来说最好的选择是使用 Stackdriver Monitoring. As per the Google official documentation Introduction to the Stackdriver Monitoring API:
The Monitoring API v3 gives you access to over 1,000 Stackdriver Monitoring metrics from Google Cloud and Amazon Web Services. You can create your own custom metrics and can organize your cloud resources using groups.
我建议您看一下它,因为它似乎是您监控实例健康状况的最佳选择。
如果这些信息对您有帮助,请告诉我!
@gso_gabriel 答案不正确。您可以配置 GCP alerts 以触发特定的 PagerDuty 服务。然后您可以连接 StatusPage 以响应对 PagerDuty 的更改。
要做到这一点,可以:
- 创建 StatusPage 项目,创建所有服务以监控
- 创建一个PagerDuty项目,创建所有组件以监控
- 使用 PagerDuty 在 GCP 上创建一个新的通知通道,并添加从 PagerDuty 生成的服务密钥,该密钥是在创建新的服务时获得的并将其与 StackDriver 集成
- 使用 PagerDuty 渠道创建 GCP 正常运行时间检查 和相关 警报。
- Link PagerDuty 通过 StatusPage 到 StatusPage apps
- 在 StatusPage 上的 PagerDuty 应用程序上配置规则
- (可选)在 StatusPage 上配置 PagerDuty 应用并编辑 规则 以根据预先创建的 模板 打开和关闭事件。