首页 > 解决方案 > 有没有办法计算一段时间内触发警报的数量并在仪表板中可视化?

问题描述

我在 GCP Monitoring 中创建了警报,并希望计算触发的警报数量并将其可视化在仪表板中。有什么衡量标准吗?

如果使用指标无法做到这一点,是否有其他方法可以计算在 1 小时或 1 天等时间段内发生的监控警报数量?

感谢您的任何回答。

标签: google-cloud-platformgoogle-cloud-monitoring

解决方案


如果您指的是正常运行时间检查 [1],您可以创建仪表板 [2],使用 Cloud Monitoringuptime_check/check_passed指标作为显示正常运行时间检查状态的图表的基础,并查看通过/失败检查的数量 [3]在您选择的时间段内。

[1] https://cloud.google.com/monitoring/uptime-checks

[2] https://cloud.google.com/monitoring/charts/uptime-charts

[3] https://cloud.google.com/monitoring/uptime-checks#get


推荐阅读