繁体   English   中英

谷歌云监控未触发事件

[英]google cloud monitoring not triggerd incident

指标超过阈值。
但未在 2020/08/19 14:46(JST +0900) 指标触发事件。
我不知道原因,所以请帮助我。

警报策略设置:

{
  "name": "projects/XXXXXXX/alertPolicies/17974723355996026588",
  "displayName": "app_more_than_error ",
  "combiner": "OR",
  ~~~~~
  "conditions": [
    {
      "conditionThreshold": {
        "filter": "metric.type=\"logging.googleapis.com/user/app_more_than_error\" resource.type=\"gke_container\"",
        "comparison": "COMPARISON_GT",
        "thresholdValue": 0.01,
        "duration": "0s",
        "trigger": {
          "count": 1
        },
        "aggregations": [
          {
            "alignmentPeriod": "60s",
            "perSeriesAligner": "ALIGN_MEAN",
            "crossSeriesReducer": "REDUCE_SUM"
          }
        ]
      },
      "displayName": "logging/user/app_more_than_error [SUM]",
      "name": "projects/XXXXXXX/alertPolicies/17974723355996026588/conditions/17974723355996028427"
    }
  ],
  "notificationChannels": [
    "projects/XXXXXXX/notificationChannels/10401003724293349755"
  ],
  "enabled": true
}

形象政策概述

图像事件

如果它有效,你会再次审查吗? 根据https://status.cloud.google.com/ ,它可能受到 GCP 某些事件的影响

所以看起来事件已触发,但您没有收到通知。

我建议查看通知渠道 [1] 文档。

我还与您分享了关于“警报行为”[2] 的文档,以便您可以查看它和关于“管理警报策略”[3] 的文档。

[1] https://cloud.google.com/monitoring/support/notification-options

[2] https://cloud.google.com/monitoring/alerts/concepts-indepth

[3] https://cloud.google.com/monitoring/alerts/using-alerting-ui

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM