无法在Prometheus警报中看到处于活动状态的警报

无法在Prometheus警报中看到处于活动状态的警报,prometheus,prometheus-alertmanager,Prometheus,Prometheus Alertmanager,我正在尝试使用prometheus服务器设置警报管理器。我可以看到以下警报被正确触发,并且通知在我的空闲通道中可用。这是一个简单的表达和触发,如果任何出口商是关闭 i、 e.向上==0 当我尝试在某些特定范围内为响应设置类似的警报规则时 i、 e.expr aws应用程序LB\u目标\u响应时间\u平均值>0.1和 aws\u应用程序LB\u目标\u响应\u时间\u平均值0.1,aws_应用程序LB_目标响应时间平均值

我正在尝试使用prometheus服务器设置警报管理器。我可以看到以下警报被正确触发,并且通知在我的空闲通道中可用。这是一个简单的表达和触发,如果任何出口商是关闭

i、 e.向上==0

当我尝试在某些特定范围内为响应设置类似的警报规则时

i、 e.expr aws应用程序LB\u目标\u响应时间\u平均值>0.1和 aws\u应用程序LB\u目标\u响应\u时间\u平均值<0.35

-名称:LoadBalancerWarning
规则:
-警报:慢速响应学习
表达式:aws_应用程序LB_目标响应时间平均值>0.1,aws_应用程序LB_目标响应时间平均值<0.35
标签:
严重性:警告
注释:
摘要:“对于{$labels.job},负载平衡器{{$labels.Load_Balancer}}响应大于0.1秒,但小于0.35”
描述:“这是警告标志。”
GrafanaDashboard:example.com
普罗米修斯:example.com
AlertManager:example.com
影响:响应慢影响用户体验


不确定我是否遗漏了什么。如果有人能为我提供相同的指针,那就太好了。

我可以看到cloud watch延迟了5到10分钟。当我在此警报查询中添加偏移量5到10分钟时。它能够触发警报

我可以看到cloud watch延迟了5到10分钟。当我在此警报查询中添加偏移量5到10分钟时。它能够触发警报

alerts:
    groups:
      - name: Exporter
        rules:
        - alert: exporter-down
          expr: up == 0
          for: 2m
          labels:
            severity: page
          annotations:
            Summary: "Exporter {{ $labels.job }} is down."
            Description: "{{ $labels.job }} has been down for more than 2 minutes."
            GrafanaDashboard: example.com
            Prometheus: example.com
            AlertManager: example.com
            Impact: Unavailability of {{ $labels.job }} will impact our monitoring. We will not able to get Insight of {{ $labels.job }}
- name: LoadBalancerWarning
        rules:
        - alert: slowResponseWarning
          expr: aws_applicationelb_target_response_time_average > 0.1 AND aws_applicationelb_target_response_time_average < 0.35
          labels:
            severity: warning
          annotations:
            Summary: "Load Balancer {{ $labels.load_balancer }} response is more than 0.1 seconds but less than 0.35 for {{ $labels.job }} "
            Description: "It is Warning Sign. "
            GrafanaDashboard: example.com
            Prometheus: example.com
            AlertManager: example.com
            Impact: Slow Response Impact User Experience