From 4146696995beecaacf5cbb6ee7a7218bd98c8b22 Mon Sep 17 00:00:00 2001 From: Mauneel Sorathia Date: Thu, 12 Dec 2024 15:10:23 +0530 Subject: [PATCH] Updated monitor message --- temporal_cloud/assets/monitors/high_service_latency.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/temporal_cloud/assets/monitors/high_service_latency.json b/temporal_cloud/assets/monitors/high_service_latency.json index c5f974fa9ab15..7de6684cb62e8 100644 --- a/temporal_cloud/assets/monitors/high_service_latency.json +++ b/temporal_cloud/assets/monitors/high_service_latency.json @@ -5,11 +5,11 @@ "title": "High service latency", "description": "This monitor alerts when the 99th percentile service latency exceeds the defined threshold for your Temporal Cloud instance, indicating potential performance degradation that could impact workflow execution times and overall system responsiveness.", "definition": { - "id": 159180146, + "id": 160133052, "name": "High service latency", "type": "query alert", "query": "avg(last_5m):avg:temporal_cloud.cloud_metrics.v0_service_latency_p99{*} by {temporal_namespace,operation} > 0.2", - "message": "{{#is_warning}}\nThe P99 service latency for Temporal Cloud operation: **{{operation.name}}** in namespace: **{{temporal_namespace.name}}** has exceeded the warning threshold.\nCurrent Service Latency (P99): **{{value}} ms**\nThreshold: {{warn_threshold}} ms\n{{/is_warning}}\n\n{{#is_alert}}\nThe P99 service latency for Temporal Cloud operation: **{{operation.name}}** in namespace: **{{temporal_namespace.name}}** has exceeded the alert threshold.\nCurrent Service Latency (P99): **{{value}} ms**\nThreshold: {{threshold}} ms\n{{/is_alert}}\n\n@example@example.com", + "message": "{{#is_warning}}\nThe P99 service latency for Temporal Cloud operation: **{{operation.name}}** in namespace: **{{temporal_namespace.name}}** has exceeded the warning threshold.\nCurrent Service Latency (P99): **{{value}} seconds**\nThreshold: {{warn_threshold}} seconds\n{{/is_warning}}\n\n{{#is_alert}}\nThe P99 service latency for Temporal Cloud operation: **{{operation.name}}** in namespace: **{{temporal_namespace.name}}** has exceeded the alert threshold.\nCurrent Service Latency (P99): **{{value}} seconds**\nThreshold: {{threshold}} seconds\n{{/is_alert}}\n\n@example@example.com", "tags": [ "integration:temporal-cloud" ],