Earlier quoted context omitted.
Although if github is down it is also possible you'll be able to do little to fix your site anyway :D
This is the reason why there should always be break-glass options to deploy to production for emergency circumstances, and well known protocols to follow when something like this is required.
Upptime – GitHub-powered open-source uptime monitor and status page
61–70 of 86 posts
Re: Upptime – GitHub-powered open-source uptime monitor and status page
#62As a proof of concept this is fascinating, and I'm thankful the author chose to share it. It's got me thinking of how I might otherwise leverage Github Actions in unconventional ways. Acknowledging the potential abuse implications that others have mentioned in the comments, it's still a mind-expanding PoC that's going to make me think about things a little different in the future.
I'm glad! I've been using GitHub Actions for many interesting things apart from building Upptime, like:
- COVID-19 nonprofit work: https://github.blog/2020-08-13-github-actions-karuna/
- Open-sourcing all my life data: https://github.com/AnandChowdhary/life
- Open-sourcing my GitHub notifications: https://github.com/AnandChowdhary/backlog
- Converting all Twitter "following" to lists: https://github.com/AnandChowdhary/twitter-list-sync
- Writing notes and generating a summary: https://github.com/AnandChowdhary/notesRe: Upptime – GitHub-powered open-source uptime monitor and status page
#63Maker here, I made Upptime as a way to scratch my own itch... I wanted a nice status page for Koj ( https://status.koj.co ) and was previously using Uptime Robot which didn't allow much customization to the website. It started with the idea of using GitHub issues for incident reports and using the GitHub API to populate the status page. The obvious next step was opening the issues automatically, so the uptime monitor…
Can you point out the code responsible for executing the http connection? If it at all modularized, I'd like to plugin code for a different kind of check.
(Are you thinking of supporting customized checks through plugins?)
Re: Upptime – GitHub-powered open-source uptime monitor and status page
#64Maker here, I made Upptime as a way to scratch my own itch... I wanted a nice status page for Koj ( https://status.koj.co ) and was previously using Uptime Robot which didn't allow much customization to the website. It started with the idea of using GitHub issues for incident reports and using the GitHub API to populate the status page. The obvious next step was opening the issues automatically, so the uptime monitor…
Interesting project and great docs! Can you point out the code responsible for executing the http connection? If it at all modularized, I'd like to plugin code for a different kind of check. (Are you thinking of supporting customized checks through plugins?)
It is utilized by this function here: https://github.com/upptime/uptime-monitor/blob/master/src/up...
If you're thinking about different checks, perhaps you can explore this too? I have no idea where to start... https://github.com/upptime/upptime/discussions/73
Re: Upptime – GitHub-powered open-source uptime monitor and status page
#65Maker here, I made Upptime as a way to scratch my own itch... I wanted a nice status page for Koj ( https://status.koj.co ) and was previously using Uptime Robot which didn't allow much customization to the website. It started with the idea of using GitHub issues for incident reports and using the GitHub API to populate the status page. The obvious next step was opening the issues automatically, so the uptime monitor…
You can run a self-hosted GitHub or GitLab Runner with your own resources: https://docs.github.com/en/free-pro-team@latest/actions/host...
GitLab [Runner] also runs tasks on cron schedules.
The process invocation overhead for CI is greater than for a typical metrics collection process like a nagios check or a memory-resident daemon like collectd with the curl plugin and the "Write HTTP" plugin (if you're not into using a space and time efficient timeseries database for metrics storage)
An open source project with a $5/mo VPS could run collectd in a container with a config file far far more energy efficiently than this approach.
Collectd curl statistics: https://collectd.org/documentation/manpages/collectd.conf.5....
Collect list of plugins: https://collectd.org/wiki/index.php/Table_of_Plugins
Is there a good way to do {DNS, curl HTTP, curl JSON} stats with Prometheus (instead of e.g. collectd as a minimal approach)?
Re: Upptime – GitHub-powered open-source uptime monitor and status page
#66Maker here, I made Upptime as a way to scratch my own itch... I wanted a nice status page for Koj ( https://status.koj.co ) and was previously using Uptime Robot which didn't allow much customization to the website. It started with the idea of using GitHub issues for incident reports and using the GitHub API to populate the status page. The obvious next step was opening the issues automatically, so the uptime monitor…
Personally I’m way of relying on GHA too much (I have a suspicion they might start introducing restrictions), but if it works it works.
I see you’re also using TypeScript, so I’m definitely taking a long look at your github-actions-starter (thanks for sharing).
Re: Upptime – GitHub-powered open-source uptime monitor and status page
#67Earlier quoted context omitted.
They will for this too. Github actions aren't free. They just have a generous free tier.
No. Actions is 100% free for public repos. Full stop.
I suspect Microsoft is less interested in making a profit on every single part of the github ecosystem, and less likely to change the pricing/limits for actions. But of course only time will tell.
Re: Upptime – GitHub-powered open-source uptime monitor and status page
#68Maker here, I made Upptime as a way to scratch my own itch... I wanted a nice status page for Koj ( https://status.koj.co ) and was previously using Uptime Robot which didn't allow much customization to the website. It started with the idea of using GitHub issues for incident reports and using the GitHub API to populate the status page. The obvious next step was opening the issues automatically, so the uptime monitor…
Interesting idea, and props for well-executed landing page at Koj! Personally I’m way of relying on GHA too much (I have a suspicion they might start introducing restrictions), but if it works it works. I see you’re also using TypeScript, so I’m definitely taking a long look at your github-actions-starter (thanks for sharing).
Thanks so much! This isn't Koj's "Show HN" (expect that soon!), but we're doing some interesting stuff, both tech- and "home and living"-wise. Happy to hear any additional feedback for koj.co as well!
> I have a suspicion they might start introducing restrictions
I definitely think so, unlimited minutes for all public repos can only be sustainable with many many paid orgs buying expensive minutes. If restrictions kick in, I think I'll keep the "GitHub issues to status page" part of Upptime and have some integrations with self-hosted monitors or third-party services that then open those GitHub issues automatically.
> I see you’re also using TypeScript, so I’m definitely taking a long look at your github-actions-starter (thanks for sharing).
Enjoy! We're using Svelte and TypeScript everywhere at Koj, we also have some other starters here if you're interested: https://github.com/koj-co.
Re: Upptime – GitHub-powered open-source uptime monitor and status page
#69Anything that is "GitHub-powered" as a requirement is not open-source.