Tweak alerts

Change-Id: Ic51914f04448b33df580a37edc6fde651688b222
diff --git a/monitoring/edge-monitoring-server/Chart.yaml b/monitoring/edge-monitoring-server/Chart.yaml
index bf5f414..e14919f 100644
--- a/monitoring/edge-monitoring-server/Chart.yaml
+++ b/monitoring/edge-monitoring-server/Chart.yaml
@@ -8,7 +8,7 @@
 # This is the chart version. This version number should be incremented each time you make changes
 # to the chart and its templates, including the app version.
 # Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 0.4.0
+version: 0.4.1
 
 # This is the version number of the application being deployed. This version number should be
 # incremented each time you make changes to the application. Versions are not expected to
diff --git a/monitoring/edge-monitoring-server/templates/prometheusrule.yaml b/monitoring/edge-monitoring-server/templates/prometheusrule.yaml
index 4d5cc18..fc29f2a 100644
--- a/monitoring/edge-monitoring-server/templates/prometheusrule.yaml
+++ b/monitoring/edge-monitoring-server/templates/prometheusrule.yaml
@@ -47,8 +47,8 @@
         annotations:
           message: |
             {{`{{ $value | humanizePercentage }}`}} of the clusters are reporting UE connect failures.
-        expr: sum(aetheredge_connect_test_ok{endpoint="metrics80"}) / count(aetheredge_connect_test_ok{endpoint="metrics80"}) < 0.5
-        for: 1m
+        expr: avg(aetheredge_connect_test_ok{endpoint="metrics80"}) < 0.5
+        for: 10m
         labels:
           severity: critical
 {{- end }}