Skip to content

Commit

Permalink
chore: disable latency alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
thegentlemanphysicist committed Sep 19, 2024
1 parent d49c05e commit cb5a4f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/gold-eb75ad-team/alerts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ resource "sysdig_monitor_alert_promql" "dev_http_request_latency" {
name = "[GOLD DEV] Higher than normal response time detected"
description = "The dev keycloak latency is elevated"
severity = 4
enabled = true
enabled = false

promql = "avg(avg_over_time(sysdig_container_net_http_request_time{kube_cluster_name=~\"gold\",kube_namespace_name=~\"eb75ad-dev\",kube_deployment_name=~\"sso-keycloak\"}[300s])) by (kube_cluster_name, kube_namespace_name, kube_workload_type, kube_workload_name, kube_pod_name, container_label_io_kubernetes_container_name) > 15000000"
trigger_after_minutes = 5
Expand All @@ -761,7 +761,7 @@ resource "sysdig_monitor_alert_promql" "prod_http_request_latency" {
name = "[GOLD PROD] Higher than normal response time detected"
description = "The prod keycloak latency is elevated"
severity = 4
enabled = true
enabled = false

promql = "avg(avg_over_time(sysdig_container_net_http_request_time{kube_cluster_name=~\"gold\",kube_namespace_name=~\"eb75ad-prod\",kube_deployment_name=~\"sso-keycloak\"}[300s])) by (kube_cluster_name, kube_namespace_name, kube_workload_type, kube_workload_name, kube_pod_name, container_label_io_kubernetes_container_name) > 15000000"
trigger_after_minutes = 5
Expand All @@ -776,7 +776,7 @@ resource "sysdig_monitor_alert_promql" "test_http_request_latency" {
name = "[GOLD TEST] Higher than normal response time detected"
description = "The test keycloak latency is elevated"
severity = 4
enabled = true
enabled = false

promql = "avg(avg_over_time(sysdig_container_net_http_request_time{kube_cluster_name=~\"gold\",kube_namespace_name=~\"eb75ad-test\",kube_deployment_name=~\"sso-keycloak\"}[300s])) by (kube_cluster_name, kube_namespace_name, kube_workload_type, kube_workload_name, kube_pod_name, container_label_io_kubernetes_container_name) > 15000000"
trigger_after_minutes = 5
Expand Down

0 comments on commit cb5a4f9

Please sign in to comment.