From 13b49bb4171185720ffe15924268bb9d6459f028 Mon Sep 17 00:00:00 2001 From: mkdev11 Date: Mon, 5 Jan 2026 15:56:26 +0200 Subject: [PATCH] feat: add monitored URL link to Google Chat notifications Add the monitored service URL as a clickable link in Google Chat notifications, allowing users to quickly navigate to the affected service for immediate investigation. Closes #5952 --- server/notification-providers/google-chat.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/server/notification-providers/google-chat.js b/server/notification-providers/google-chat.js index 2557a142c..c05830d93 100644 --- a/server/notification-providers/google-chat.js +++ b/server/notification-providers/google-chat.js @@ -80,6 +80,15 @@ class GoogleChat extends NotificationProvider { }); } + // add monitor URL if available + if (monitorJSON && monitorJSON["url"]) { + sectionWidgets.push({ + textParagraph: { + text: `URL:\n${monitorJSON["url"]}`, + }, + }); + } + // add button for monitor link if available const baseURL = await setting("primaryBaseURL"); if (baseURL) {