Skip to content

Commit

Permalink
[LPF-602] Remove invalid prometheus rule (#137)
Browse files Browse the repository at this point in the history
* removing failing rule to check

* deploying to dev

* removing alert for UAT & prod

* removing deployment to dev
  • Loading branch information
H3ll3m4 authored Jan 24, 2025
1 parent 5251660 commit 6392317
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 33 deletions.
11 changes: 0 additions & 11 deletions deployments/development/prometheus-rules.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,6 @@ metadata:
name: prometheus-custom-rules-laa-gpfd-api
spec:
groups:
- name: secretmanager-rules
rules:
- alert: SecretsManagerPutSecretValue
expr: secretsmanager_put_secret_value_sum{exported_job="secretsmanager", secret_id="arn:aws:secretsmanager:eu-west-2:754256621582:secret:live-laa-get-payments-finance-data-dev-d4def64b8869d886-jJRZ1c"} > 0
for: 1m
labels:
severity: ${ALERT_SEVERITY}
annotations:
message: |
{{ $labels.user_arn }} has updated secrets.
runbook_url: https://dsdmoj.atlassian.net/wiki/spaces/LPF/pages/5297832119/Runbooks
- name: kubernetes-rules
rules:
- alert: KubeQuotaAlmostFull
Expand Down
11 changes: 0 additions & 11 deletions deployments/prod/prometheus-rules.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,6 @@ metadata:
name: prometheus-custom-rules-laa-gpfd-api
spec:
groups:
- name: secretmanager-rules
rules:
- alert: SecretsManagerPutSecretValue
expr: secretsmanager_put_secret_value_sum{exported_job="secretsmanager", secret_id="arn:aws:secretsmanager:eu-west-2:754256621582:secret:live-laa-get-payments-finance-data-prod-82bbb46d21e0b817-hnN2RT"} > 0
for: 1m
labels:
severity: ${ALERT_SEVERITY}
annotations:
message: |
{{ $labels.user_arn }} has updated secrets.
runbook_url: https://dsdmoj.atlassian.net/wiki/spaces/LPF/pages/5297832119/Runbooks
- name: kubernetes-rules
rules:
- alert: KubeQuotaAlmostFull
Expand Down
11 changes: 0 additions & 11 deletions deployments/uat/prometheus-rules.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,6 @@ metadata:
name: prometheus-custom-rules-laa-gpfd-api
spec:
groups:
- name: secretmanager-rules
rules:
- alert: SecretsManagerPutSecretValue
expr: secretsmanager_put_secret_value_sum{exported_job="secretsmanager", secret_id="arn:aws:secretsmanager:eu-west-2:754256621582:secret:live-laa-get-payments-finance-data-uat-12224e107affb6aa-nPlhcC"} > 0
for: 1m
labels:
severity: ${ALERT_SEVERITY}
annotations:
message: |
{{ $labels.user_arn }} has updated secrets.
runbook_url: https://dsdmoj.atlassian.net/wiki/spaces/LPF/pages/5297832119/Runbooks
- name: kubernetes-rules
rules:
- alert: KubeQuotaAlmostFull
Expand Down

0 comments on commit 6392317

Please sign in to comment.