diff --git a/rhobs/alerting/data_plane/prometheus.eaas_alerts.yaml b/rhobs/alerting/data_plane/prometheus.eaas_alerts.yaml deleted file mode 100644 index 7e6f1fe8..00000000 --- a/rhobs/alerting/data_plane/prometheus.eaas_alerts.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: monitoring.coreos.com/v1 -kind: PrometheusRule -metadata: - name: rhtap-eaas-alerting-rules - labels: - tenant: rhtap -spec: - groups: - - name: quota-alerts - interval: 1m - rules: - - alert: HypershiftAWSQuotaAlmostFull - annotations: - summary: Environment as a Service is approaching the quota for concurrent HyperShift AWS clusters - description: >- - Environment as a Service has {{ $value | humanize }} concurrent HyperShift AWS clusters - on cluster {{ $labels.source_cluster }}. The maximum allowed is 100. - alert_team_handle: # @konflux-vanguard - runbook_url: https://gitlab.cee.redhat.com/konflux/docs/sop/-/blob/main/eaas/hypershift-aws-quota-almost-full.md - expr: platform:hypershift_hostedclusters:max{platform="AWS"} >= 80 - for: 15m - labels: - severity: warning diff --git a/test/promql/tests/data_plane/eaas_test.yaml b/test/promql/tests/data_plane/eaas_test.yaml deleted file mode 100644 index 377454c8..00000000 --- a/test/promql/tests/data_plane/eaas_test.yaml +++ /dev/null @@ -1,32 +0,0 @@ -evaluation_interval: 1m - -rule_files: - - prometheus.eaas_alerts.yaml - -tests: - - interval: 1m - input_series: - - series: platform:hypershift_hostedclusters:max{platform="AWS", source_cluster="cluster01"} - values: '80x15 0' - - series: platform:hypershift_hostedclusters:max{platform="AWS", source_cluster="cluster02"} - values: '79x15 0' - - alert_rule_test: - - eval_time: 15m - alertname: HypershiftAWSQuotaAlmostFull - exp_alerts: - - exp_labels: - severity: warning - source_cluster: cluster01 - platform: AWS - exp_annotations: - summary: Environment as a Service is approaching the quota for concurrent HyperShift AWS clusters - description: >- - Environment as a Service has 80 concurrent HyperShift AWS clusters on cluster cluster01. - The maximum allowed is 100. - alert_team_handle: - runbook_url: https://gitlab.cee.redhat.com/konflux/docs/sop/-/blob/main/eaas/hypershift-aws-quota-almost-full.md - - - eval_time: 16m - alertname: HypershiftAWSQuotaAlmostFull - exp_alerts: []