Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update minIO alert to point at tools #72

Merged
merged 1 commit into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions terraform/gold-eb75ad-team/alerts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,12 @@ resource "sysdig_monitor_alert_promql" "test_backup_storage_pv_usage_gt_med" {
}

resource "sysdig_monitor_alert_promql" "prod_minio_pvc_storage_low" {
name = "[GOLD PROD] Minio PVC over 70%"
description = "The minio pvc is over 70%, increase via the terraform chart in the sso-dashboard repos"
name = "[GOLD PROD] Minio PVC over 85%"
description = "The minio pvc is over 85%, increase via the terraform chart in the sso-dashboard repos"
severity = 4
enabled = true

promql = "avg(kubelet_volume_stats_used_bytes{ namespace=\"eb75ad-prod\", persistentvolumeclaim=~\"export-sso-minio-.*\"} * 100 /\nkubelet_volume_stats_capacity_bytes{namespace=\"eb75ad-prod\", persistentvolumeclaim=~\"export-sso-minio-.*\"}) by (persistentvolumeclaim) > 70"
promql = "avg(kubelet_volume_stats_used_bytes{ namespace=\"eb75ad-tools\", persistentvolumeclaim=~\"export-sso-minio-.*\"} * 100 /\nkubelet_volume_stats_capacity_bytes{namespace=\"eb75ad-tools\", persistentvolumeclaim=~\"export-sso-minio-.*\"}) by (persistentvolumeclaim) > 85"
trigger_after_minutes = 2

notification_channels = [132277, 57336, 57341]
Expand Down