google-cloud-platform - 有没有办法计算一段时间内触发警报的数量并在仪表板中可视化?
问题描述
我在 GCP Monitoring 中创建了警报,并希望计算触发的警报数量并将其可视化在仪表板中。有什么衡量标准吗?
如果使用指标无法做到这一点,是否有其他方法可以计算在 1 小时或 1 天等时间段内发生的监控警报数量?
感谢您的任何回答。
解决方案
如果您指的是正常运行时间检查 [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
推荐阅读
- javascript - 渲染中的第二次返回没有被忽略 React
- tensorflow - 使用 TFLite 进行对象检测
- sql - postgresql 重复问题
- zoom-sdk - 需要有关 Zoom SSO 配置的帮助
- c++ - Pcl Integral Image Estimation 为正常场抛出 NAN
- go - SonarQube 中 Go 语言项目的集成测试代码覆盖率报告
- python - 从字符串中提取月份间隔
- r - 我如何在 RMarkdown 中找到对象 1 的平均值?
- html - 在 Wordpress 中将 Mailchimp 表单实现到我的页脚时,100% 宽度不起作用
- django - Django 导入导出外键