Merge branch 'develop' into feat/service-refactor

This commit is contained in:
Alex Holliday committed 2025-07-23 13:09:48 -07:00
commit 181e149028
6 files changed
+185 -64

No files matched your search

+22 -23
View File
@@ -26,41 +26,40 @@ Checkmate has been stress-tested with 1000+ active monitors without any particul
## 📚 Table of contents ## 📚 Table of contents
- [📦 Demo](#-demo) - [📦 Demo](#demo)
- [🔗 User's guide](#-users-guide) - [🔗 User's guide](#users-guide)
- [🛠️ Installation](#️-installation) - [🛠️ Installation](#installation)
- [🚀 Deploying Checkmate with Helm](#-deploying-checkmate-with-helm) - [🏁 Translations](#translations)
- [🏁 Translations](#-translations) - [🚀 Performance](#performance)
- [🚀 Performance](#-performance) - [💚 Questions & Ideas](#questions--ideas)
- [💚 Questions & Ideas](#-questions--ideas) - [🧩 Features](#features)
- [🧩 Features](#-features) - [🏗️ Screenshots](#screenshots)
- [🏗️ Screenshots](#-screenshots) - [🏗️ Tech stack](#tech-stack)
- [🏗️ Tech stack](#-tech-stack)
- [🔗 A few links](#a-few-links) - [🔗 A few links](#a-few-links)
- [🤝 Contributing](#-contributing) - [🤝 Contributing](#contributing)
- [💰 Our sponsors](#-our-sponsors) - [💰 Our sponsors](#our-sponsors)
## 📦 Demo ## Demo
You can see the latest build of [Checkmate](https://checkmate-demo.bluewavelabs.ca/) in action. The username is uptimedemo@demo.com and the password is Demouser1! (just a note that we update the demo server from time to time, so if it doesn't work for you, please ping us on the Discussions channel). You can see the latest build of [Checkmate](https://checkmate-demo.bluewavelabs.ca/) in action. The username is uptimedemo@demo.com and the password is Demouser1! (just a note that we update the demo server from time to time, so if it doesn't work for you, please ping us on the Discussions channel).
## 🔗 User's guide ## User's guide
Usage instructions can be found [here](https://docs.checkmate.so/checkmate-2.1). It's still WIP and some of the information there might be outdated as we continuously add features weekly. Rest assured, we are doing our best! :) Usage instructions can be found [here](https://docs.checkmate.so/checkmate-2.1). It's still WIP and some of the information there might be outdated as we continuously add features weekly. Rest assured, we are doing our best! :)
## 🛠️ Installation ## Installation
See installation instructions in [Checkmate documentation portal](https://docs.checkmate.so/checkmate-2.1/users-guide/quickstart). See installation instructions in [Checkmate documentation portal](https://docs.checkmate.so/checkmate-2.1/users-guide/quickstart).
Alternatively, you can also use [Coolify](https://coolify.io/), [Elestio](https://elest.io/open-source/checkmate), [K8s](./charts/helm/checkmate/INSTALLATION.md) or [Pikapods](https://www.pikapods.com/) to quickly spin off a Checkmate instance. If you would like to monitor your server infrastructure, you'll need [Capture agent](https://github.com/bluewave-labs/capture). Capture repository also contains the installation instructions. Alternatively, you can also use [Coolify](https://coolify.io/), [Elestio](https://elest.io/open-source/checkmate), [K8s](./charts/helm/checkmate/INSTALLATION.md) or [Pikapods](https://www.pikapods.com/) to quickly spin off a Checkmate instance. If you would like to monitor your server infrastructure, you'll need [Capture agent](https://github.com/bluewave-labs/capture). Capture repository also contains the installation instructions.
## 🏁 Translations ## Translations
If you would like to use Checkmate in your language, please [go to this page](https://poeditor.com/join/project/lRUoGZFCsJ) and register for the language you would like to translate Checkmate to. If you would like to use Checkmate in your language, please [go to this page](https://poeditor.com/join/project/lRUoGZFCsJ) and register for the language you would like to translate Checkmate to.
## 🚀 Performance ## Performance
Thanks to extensive optimizations, Checkmate operates with an exceptionally small memory footprint, requiring minimal memory and CPU resources. Here’s the memory usage of a Node.js instance running on a server that monitors 323 servers every minute: Thanks to extensive optimizations, Checkmate operates with an exceptionally small memory footprint, requiring minimal memory and CPU resources. Here’s the memory usage of a Node.js instance running on a server that monitors 323 servers every minute:
@@ -70,7 +69,7 @@ You can see the memory footprint of MongoDB and Redis on the same server (398Mb
![image](https://github.com/user-attachments/assets/3b469e85-e675-4040-a162-3f24c1afc751) ![image](https://github.com/user-attachments/assets/3b469e85-e675-4040-a162-3f24c1afc751)
## 💚 Questions & Ideas ## Questions & Ideas
If you have any questions, suggestions or comments, you have several options: If you have any questions, suggestions or comments, you have several options:
@@ -80,7 +79,7 @@ If you have any questions, suggestions or comments, you have several options:
Feel free to ask questions or share your ideas - we'd love to hear from you! Feel free to ask questions or share your ideas - we'd love to hear from you!
## 🧩 Features ## Features
- Completely open source, deployable on your servers or home devices (e.g Raspberry Pi 4 or 5) - Completely open source, deployable on your servers or home devices (e.g Raspberry Pi 4 or 5)
- Website monitoring - Website monitoring
@@ -103,7 +102,7 @@ Feel free to ask questions or share your ideas - we'd love to hear from you!
- Network monitoring - Network monitoring
- ..and a few more features - ..and a few more features
## 🏗️ Screenshots ## Screenshots
<p> <p>
<img width="1628" alt="image" src="https://github.com/user-attachments/assets/2eff6464-0738-4a32-9312-26e1e8e86275" /> <img width="1628" alt="image" src="https://github.com/user-attachments/assets/2eff6464-0738-4a32-9312-26e1e8e86275" />
@@ -120,7 +119,7 @@ Feel free to ask questions or share your ideas - we'd love to hear from you!
## 🏗️ Tech stack ## Tech stack
- [ReactJs](https://react.dev/) - [ReactJs](https://react.dev/)
- [MUI (React framework)](https://mui.com/) - [MUI (React framework)](https://mui.com/)
@@ -136,7 +135,7 @@ Feel free to ask questions or share your ideas - we'd love to hear from you!
- Need a ping when there's a new release? Use [Newreleases](https://newreleases.io/), a free service to track releases. - Need a ping when there's a new release? Use [Newreleases](https://newreleases.io/), a free service to track releases.
- Watch a Checkmate [installation and usage video](https://www.youtube.com/watch?v=GfFOc0xHIwY) - Watch a Checkmate [installation and usage video](https://www.youtube.com/watch?v=GfFOc0xHIwY)
## 🤝 Contributing ## Contributing
We are [Alex](http://github.com/ajhollid) (team lead), [Vishnu](http://github.com/vishnusn77), [Mohadeseh](http://github.com/mohicody), [Gorkem](http://github.com/gorkem-bwl/), [Owaise](http://github.com/Owaiseimdad), [Aryaman](https://github.com/Br0wnHammer) and [Mert](https://github.com/mertssmnoglu) helping individuals and businesses monitor their infra and servers. We are [Alex](http://github.com/ajhollid) (team lead), [Vishnu](http://github.com/vishnusn77), [Mohadeseh](http://github.com/mohicody), [Gorkem](http://github.com/gorkem-bwl/), [Owaise](http://github.com/Owaiseimdad), [Aryaman](https://github.com/Br0wnHammer) and [Mert](https://github.com/mertssmnoglu) helping individuals and businesses monitor their infra and servers.
@@ -160,7 +159,7 @@ Here's how you can contribute:
[![Star History Chart](https://api.star-history.com/svg?repos=bluewave-labs/checkmate&type=Date)](https://star-history.com/#bluewave-labs/bluewave-uptime&Date) [![Star History Chart](https://api.star-history.com/svg?repos=bluewave-labs/checkmate&type=Date)](https://star-history.com/#bluewave-labs/bluewave-uptime&Date)
## 💰 Our sponsors ## Our sponsors
Thanks to [Gitbook](https://gitbook.io/) for giving us a free tier for their documentation platform, and [Poeditor](https://poeditor.com/) providing us a free account to use their i18n services. If you would like to sponsor Checkmate, please send an email to hello@bluewavelabs.ca Thanks to [Gitbook](https://gitbook.io/) for giving us a free tier for their documentation platform, and [Poeditor](https://poeditor.com/) providing us a free account to use their i18n services. If you would like to sponsor Checkmate, please send an email to hello@bluewavelabs.ca
+93 -21
View File
@@ -1079,6 +1079,17 @@
"dev": true, "dev": true,
"license": "(Unlicense OR Apache-2.0)" "license": "(Unlicense OR Apache-2.0)"
}, },
"node_modules/@trysound/sax": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz",
"integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==",
"license": "ISC",
"optional": true,
"peer": true,
"engines": {
"node": ">=10.13.0"
}
},
"node_modules/@types/estree": { "node_modules/@types/estree": {
"version": "1.0.8", "version": "1.0.8",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
@@ -2252,12 +2263,14 @@
} }
}, },
"node_modules/css-tree": { "node_modules/css-tree": {
"version": "3.1.0", "version": "2.3.1",
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.1.0.tgz", "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz",
"integrity": "sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==", "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==",
"license": "MIT", "license": "MIT",
"optional": true,
"peer": true,
"dependencies": { "dependencies": {
"mdn-data": "2.12.2", "mdn-data": "2.0.30",
"source-map-js": "^1.0.1" "source-map-js": "^1.0.1"
}, },
"engines": { "engines": {
@@ -4547,10 +4560,12 @@
} }
}, },
"node_modules/mdn-data": { "node_modules/mdn-data": {
"version": "2.12.2", "version": "2.0.30",
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.12.2.tgz", "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz",
"integrity": "sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==", "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==",
"license": "CC0-1.0" "license": "CC0-1.0",
"optional": true,
"peer": true
}, },
"node_modules/media-typer": { "node_modules/media-typer": {
"version": "0.3.0", "version": "0.3.0",
@@ -6381,6 +6396,59 @@
"postcss": "^8.4.32" "postcss": "^8.4.32"
} }
}, },
"node_modules/postcss-svgo/node_modules/commander": {
"version": "11.1.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz",
"integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==",
"license": "MIT",
"engines": {
"node": ">=16"
}
},
"node_modules/postcss-svgo/node_modules/css-tree": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.1.0.tgz",
"integrity": "sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==",
"license": "MIT",
"dependencies": {
"mdn-data": "2.12.2",
"source-map-js": "^1.0.1"
},
"engines": {
"node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"
}
},
"node_modules/postcss-svgo/node_modules/mdn-data": {
"version": "2.12.2",
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.12.2.tgz",
"integrity": "sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==",
"license": "CC0-1.0"
},
"node_modules/postcss-svgo/node_modules/svgo": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/svgo/-/svgo-4.0.0.tgz",
"integrity": "sha512-VvrHQ+9uniE+Mvx3+C9IEe/lWasXCU0nXMY2kZeLrHNICuRiC8uMPyM14UEaMOFA5mhyQqEkB02VoQ16n3DLaw==",
"license": "MIT",
"dependencies": {
"commander": "^11.1.0",
"css-select": "^5.1.0",
"css-tree": "^3.0.1",
"css-what": "^6.1.0",
"csso": "^5.0.5",
"picocolors": "^1.1.1",
"sax": "^1.4.1"
},
"bin": {
"svgo": "bin/svgo.js"
},
"engines": {
"node": ">=16"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/svgo"
}
},
"node_modules/postcss-unique-selectors": { "node_modules/postcss-unique-selectors": {
"version": "7.0.4", "version": "7.0.4",
"resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-7.0.4.tgz", "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-7.0.4.tgz",
@@ -7421,24 +7489,26 @@
} }
}, },
"node_modules/svgo": { "node_modules/svgo": {
"version": "4.0.0", "version": "3.3.2",
"resolved": "https://registry.npmjs.org/svgo/-/svgo-4.0.0.tgz", "resolved": "https://registry.npmjs.org/svgo/-/svgo-3.3.2.tgz",
"integrity": "sha512-VvrHQ+9uniE+Mvx3+C9IEe/lWasXCU0nXMY2kZeLrHNICuRiC8uMPyM14UEaMOFA5mhyQqEkB02VoQ16n3DLaw==", "integrity": "sha512-OoohrmuUlBs8B8o6MB2Aevn+pRIH9zDALSR+6hhqVfa6fRwG/Qw9VUMSMW9VNg2CFc/MTIfabtdOVl9ODIJjpw==",
"license": "MIT", "license": "MIT",
"optional": true,
"peer": true,
"dependencies": { "dependencies": {
"commander": "^11.1.0", "@trysound/sax": "0.2.0",
"commander": "^7.2.0",
"css-select": "^5.1.0", "css-select": "^5.1.0",
"css-tree": "^3.0.1", "css-tree": "^2.3.1",
"css-what": "^6.1.0", "css-what": "^6.1.0",
"csso": "^5.0.5", "csso": "^5.0.5",
"picocolors": "^1.1.1", "picocolors": "^1.0.0"
"sax": "^1.4.1"
}, },
"bin": { "bin": {
"svgo": "bin/svgo.js" "svgo": "bin/svgo"
}, },
"engines": { "engines": {
"node": ">=16" "node": ">=14.0.0"
}, },
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
@@ -7446,12 +7516,14 @@
} }
}, },
"node_modules/svgo/node_modules/commander": { "node_modules/svgo/node_modules/commander": {
"version": "11.1.0", "version": "7.2.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
"integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
"license": "MIT", "license": "MIT",
"optional": true,
"peer": true,
"engines": { "engines": {
"node": ">=16" "node": ">= 10"
} }
}, },
"node_modules/swagger-ui-dist": { "node_modules/swagger-ui-dist": {
@@ -31,11 +31,7 @@ class SuperSimpleQueueHelper {
throw new Error("No network response"); throw new Error("No network response");
} }
const { const { monitor: updatedMonitor, statusChanged, prevStatus } = await this.statusService.updateStatus(networkResponse);
monitor: updatedMonitor,
statusChanged,
prevStatus,
} = await this.statusService.updateStatus(networkResponse);
this.notificationService this.notificationService
.handleNotifications({ .handleNotifications({
+18 -4
View File
@@ -2,17 +2,28 @@
<mjml> <mjml>
<mj-head> <mj-head>
<mj-font name="Roboto" href="https://fonts.googleapis.com/css?family=Roboto:300,500"></mj-font> <mj-font
name="Roboto"
href="https://fonts.googleapis.com/css?family=Roboto:300,500"
></mj-font>
<mj-attributes> <mj-attributes>
<mj-all font-family="Roboto, Helvetica, sans-serif"></mj-all> <mj-all font-family="Roboto, Helvetica, sans-serif"></mj-all>
<mj-text font-weight="300" font-size="16px" color="#616161" line-height="24px"></mj-text> <mj-text
font-weight="300"
font-size="16px"
color="#616161"
line-height="24px"
></mj-text>
<mj-section padding="0px"></mj-section> <mj-section padding="0px"></mj-section>
</mj-attributes> </mj-attributes>
</mj-head> </mj-head>
<mj-body> <mj-body>
<mj-section padding="20px 0"> <mj-section padding="20px 0">
<mj-column width="100%"> <mj-column width="100%">
<mj-text align="left" font-size="10px"> <mj-text
align="left"
font-size="10px"
>
Message from Checkmate Service Message from Checkmate Service
</mj-text> </mj-text>
</mj-column> </mj-column>
@@ -32,7 +43,10 @@
</mj-text> </mj-text>
</mj-column> </mj-column>
<mj-column width="100%"> <mj-column width="100%">
<mj-divider border-width="1px" border-color="#E0E0E0"></mj-divider> <mj-divider
border-width="1px"
border-color="#E0E0E0"
></mj-divider>
<mj-text font-size="12px"> <mj-text font-size="12px">
<p>This email was sent by Checkmate.</p> <p>This email was sent by Checkmate.</p>
</mj-text> </mj-text>
+33 -7
View File
@@ -1,24 +1,47 @@
<mjml> <mjml>
<mj-head> <mj-head>
<mj-font name="Roboto" href="https://fonts.googleapis.com/css?family=Roboto:300,500"></mj-font> <mj-font
name="Roboto"
href="https://fonts.googleapis.com/css?family=Roboto:300,500"
></mj-font>
<mj-attributes> <mj-attributes>
<mj-all font-family="Roboto, Helvetica, sans-serif"></mj-all> <mj-all font-family="Roboto, Helvetica, sans-serif"></mj-all>
<mj-text font-weight="300" font-size="16px" color="#616161" line-height="24px"></mj-text> <mj-text
font-weight="300"
font-size="16px"
color="#616161"
line-height="24px"
></mj-text>
<mj-section padding="0px"></mj-section> <mj-section padding="0px"></mj-section>
</mj-attributes> </mj-attributes>
</mj-head> </mj-head>
<mj-body> <mj-body>
<mj-section padding="20px 0"> <mj-section padding="20px 0">
<mj-column width="100%"> <mj-column width="100%">
<mj-text align="left" font-size="10px"> <mj-text
align="left"
font-size="10px"
>
Message from Checkmate Service Message from Checkmate Service
</mj-text> </mj-text>
</mj-column> </mj-column>
<mj-column width="45%" padding-top="20px"> <mj-column
<mj-text align="center" font-weight="500" padding="0px" font-size="18px" color="red"> width="45%"
padding-top="20px"
>
<mj-text
align="center"
font-weight="500"
padding="0px"
font-size="18px"
color="red"
>
{{ monitor }} is down {{ monitor }} is down
</mj-text> </mj-text>
<mj-divider border-width="2px" border-color="#616161"></mj-divider> <mj-divider
border-width="2px"
border-color="#616161"
></mj-divider>
</mj-column> </mj-column>
</mj-section> </mj-section>
<mj-section> <mj-section>
@@ -31,7 +54,10 @@
</mj-text> </mj-text>
</mj-column> </mj-column>
<mj-column width="100%"> <mj-column width="100%">
<mj-divider border-width="1px" border-color="#E0E0E0"></mj-divider> <mj-divider
border-width="1px"
border-color="#E0E0E0"
></mj-divider>
<mj-button background-color="#1570EF"> View incident details </mj-button> <mj-button background-color="#1570EF"> View incident details </mj-button>
<mj-text font-size="12px"> <mj-text font-size="12px">
<p>This email was sent by Checkmate.</p> <p>This email was sent by Checkmate.</p>
+18 -4
View File
@@ -1,17 +1,28 @@
<!-- name --> <!-- name -->
<mjml> <mjml>
<mj-head> <mj-head>
<mj-font name="Roboto" href="https://fonts.googleapis.com/css?family=Roboto:300,500"></mj-font> <mj-font
name="Roboto"
href="https://fonts.googleapis.com/css?family=Roboto:300,500"
></mj-font>
<mj-attributes> <mj-attributes>
<mj-all font-family="Roboto, Helvetica, sans-serif"></mj-all> <mj-all font-family="Roboto, Helvetica, sans-serif"></mj-all>
<mj-text font-weight="300" font-size="16px" color="#616161" line-height="24px"></mj-text> <mj-text
font-weight="300"
font-size="16px"
color="#616161"
line-height="24px"
></mj-text>
<mj-section padding="0px"></mj-section> <mj-section padding="0px"></mj-section>
</mj-attributes> </mj-attributes>
</mj-head> </mj-head>
<mj-body> <mj-body>
<mj-section padding="20px 0"> <mj-section padding="20px 0">
<mj-column width="100%"> <mj-column width="100%">
<mj-text align="left" font-size="10px"> <mj-text
align="left"
font-size="10px"
>
Message from Checkmate Service Message from Checkmate Service
</mj-text> </mj-text>
</mj-column> </mj-column>
@@ -27,7 +38,10 @@
</mj-text> </mj-text>
</mj-column> </mj-column>
<mj-column width="100%"> <mj-column width="100%">
<mj-divider border-width="1px" border-color="#E0E0E0"></mj-divider> <mj-divider
border-width="1px"
border-color="#E0E0E0"
></mj-divider>
<mj-text font-size="12px"> <mj-text font-size="12px">
<p>This email was sent by Checkmate.</p> <p>This email was sent by Checkmate.</p>
</mj-text> </mj-text>