Git Product home page Git Product logo

Comments (8)

aabounegm avatar aabounegm commented on August 22, 2024 3

those acceptance criteria were written with Upptime in mind

I understand, but they were still nice-to-haves. Without them, we don't really have anything to show on our README (which is the frontpage).
Also, we are using CloudFlare Pages, which are supposed to have ~100% uptime anyway, so with nothing to show off on the presentation, it just becomes useless, imo.

Vote 💧 if you think we should drop this, or ⬆️ if you think we should still add uptime monitoring (ugh, no custom emojis as a reaction)
Vote 👍 on this comment if you think we should drop this, or 🚀 if you think we should still add uptime monitoring

from cast.

aabounegm avatar aabounegm commented on August 22, 2024

I'm a little confused about how to implement this. Their documentation says that I must create the repo from template, but I doubt that we need all of those folders (api, assets, graphs, history), and if they are required to be in the repo root, then this is just really ugly.
On the other hand, when I check the defined workflows, it appears that all of the Actions there (and they are a lot) are autogenerated and I shouldn't touch them manually, but I couldn't generate them myself. When I tried the command from the repo it mentioned (npx @upptime/uptime-monitor), all I got was command not found: uptime-monitor.
Any suggestions?

from cast.

illright avatar illright commented on August 22, 2024

Yeah, it's kinda messed up. This probably needs some more investigation. If you don't feel like it, maybe you could configure some other free uptime monitor?

from cast.

aabounegm avatar aabounegm commented on August 22, 2024

I checked a few other tools, such as the following:

However, none of them provided a nice integration with GitHub Issues or Pages or badges. Most of them host their own status page and send emails (or Slack messages or otherwise) when the website is down.

I also went through the documentation of Upptime, but couldn't find a way to customize the root folder or branch to operate on, which means that the best option is to have a dedicated repo for that (I don't wanna litter our main repo with automated commits every 5 mins), but it just doesn't feel like it's worth it.
I think we either write our own custom solution or just drop it altogether.

from cast.

illright avatar illright commented on August 22, 2024

However, none of them provided a nice integration with GitHub Issues or Pages or badges.

That's not a problem, those acceptance criteria were written with Upptime in mind. If we're not using it, it's fine to receive alerts in Telegram and have a dedicated status page that's not running on GitHub Pages

I think we either write our own custom solution

Was actually thinking about it, but I certainly don't feel like doing it within this project

from cast.

illright avatar illright commented on August 22, 2024

with nothing to show off on the presentation

A beautiful status page with 100% uptime is quite the something to show off on the presentation

from cast.

VanishMax avatar VanishMax commented on August 22, 2024

@illright @aabounegm I've played for a while with different Upptime configurations and other tools, and I agree with @aabounegm that the only option to use Upptime is with the separate repo.

However, I have create a demo private repo and added this GitHub workflow with the action:

image

Having this, we can add the badge:

image

I know this is not the "Uptime: 100%" badge, but supposedly there are no good integrations with GitHub actions. I would appreciate if you explain how can we integrate external services like "UptimeRobot" into our project.

Also, notice the "Log success/failure" jobs in the workflow. We could use it to do custom behaviour for checking the uptime. If you have any ideas, feel free to add them here.

from cast.

illright avatar illright commented on August 22, 2024

I would appreciate if you explain how can we integrate external services like "UptimeRobot" into our project.

I just signed up, I see that there's an option to create a monitor by specifying the URL. There's also a free status page that can be linked to the monitor. I just created one for example, right here — https://stats.uptimerobot.com/NnXDYFZ5zq

It's capable of e-mail notifications for incidents (maybe something else too, I didn't explore). As for badges — also needs some exploration, maybe there are badges exported by this service.

Hit me up if you need advice on how to set up this Uptime Robot yourself (or feel free to just use this status page that I created)

from cast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.