feat: add monitored URL link to Google Chat notifications#6588
Merged
CommanderStorm merged 3 commits intolouislam:masterfrom Jan 5, 2026
Merged
feat: add monitored URL link to Google Chat notifications#6588CommanderStorm merged 3 commits intolouislam:masterfrom
CommanderStorm merged 3 commits intolouislam:masterfrom
Conversation
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 louislam#5952
CommanderStorm
requested changes
Jan 5, 2026
Collaborator
CommanderStorm
left a comment
There was a problem hiding this comment.
could you use the following instead:
Contributor
Author
Done! |
CommanderStorm
requested changes
Jan 5, 2026
Collaborator
CommanderStorm
left a comment
There was a problem hiding this comment.
Plese have a look at the changes you submitted..
Address review feedback from CommanderStorm to use the inherited extractAddress() method instead of directly accessing monitorJSON["url"]. This properly handles different monitor types (ping, port, dns, etc.).
97f4d13 to
4cad397
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aims to add the monitored service URL as a clickable link to Google Chat notifications to enable faster incident response. However, the current implementation displays the address as plain text rather than making it clickable.
Key Changes:
- Added an "Address" section to Google Chat card notifications that displays the monitored service address (URL, hostname, or port)
- The address is extracted using the existing
extractAddressmethod from the NotificationProvider base class - The new section appears between the "Time" section and the "Visit Uptime Kuma" button
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: add monitored URL link to Google Chat notifications
Summary
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
Changes
Benefits
Code Change
Screenshot
Google Chat notification will now include a clickable URL section between the Time and the "Visit Uptime Kuma" button.
Checklist
npm run lint)Contribution by Gittensor, see my contribution statistics at https://gittensor.io/miners/details?githubId=94194147