fix(chalice): changed alert's notification (#1721)

(cherry picked from commit b2251c7599)
This commit is contained in:
Kraiem Taha Yassine 2023-11-28 15:03:04 +01:00 committed by Taha Yassine Kraiem
parent c850c64564
commit 19abad8358

View file

@ -242,7 +242,7 @@ def generate_notification(alert, result):
"alertId": alert["alertId"],
"tenantId": alert["tenantId"],
"title": alert["name"],
"description": f"has been triggered, {alert['seriesName']} = {left} ({alert['query']['operator']} {right}).",
"description": f"{alert['seriesName']} = {left} ({alert['query']['operator']} {right}).",
"buttonText": "Check metrics for more details",
"buttonUrl": f"/{alert['projectId']}/metrics",
"imageUrl": None,