Skip to content

Commit

Permalink
chore: fix decimal on alert
Browse files Browse the repository at this point in the history
  • Loading branch information
thegentlemanphysicist committed Jun 11, 2024
1 parent 93fec69 commit 8f176e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/gold-eb75ad-team/alerts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ resource "sysdig_monitor_alert_promql" "prod_http_request_latency" {
severity = 4
enabled = true

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\"}[59s])) by (kube_cluster_name, kube_namespace_name, kube_workload_type, kube_workload_name, kube_pod_name, container_label_io_kubernetes_container_name) > 40000000"
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\"}[59s])) by (kube_cluster_name, kube_namespace_name, kube_workload_type, kube_workload_name, kube_pod_name, container_label_io_kubernetes_container_name) > 400000"
trigger_after_minutes = 5

notification_channels = [132277]
Expand All @@ -771,7 +771,7 @@ resource "sysdig_monitor_alert_promql" "test_http_request_latency" {
severity = 4
enabled = true

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\"}[59s])) by (kube_cluster_name, kube_namespace_name, kube_workload_type, kube_workload_name, kube_pod_name, container_label_io_kubernetes_container_name) > 40000000"
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\"}[59s])) by (kube_cluster_name, kube_namespace_name, kube_workload_type, kube_workload_name, kube_pod_name, container_label_io_kubernetes_container_name) > 4000000"
trigger_after_minutes = 5

notification_channels = [132277]
Expand Down

0 comments on commit 8f176e7

Please sign in to comment.