redlib-org / redlib-instances

GNU General Public License v3.0
42 stars 25 forks source link

Enhancement: Instance metrics monitoring #5

Closed perennialtech closed 7 months ago

perennialtech commented 8 months ago

Enhancement: Instance Metrics Monitoring

What would you like to be added?

Implement monitoring of instance metrics. Information such as uptime data and response times should be recorded and made available to users on this repository (redlib-org/redlib-instances).

Possible monitoring options include:

1. updown.io

2. UptimeRobot

3. Upptime

4. uptime-kuma

Other solutions may be considered, but I won't be able to attest to their usefulness.

As for my personal recommendations:

Note that a suitable endpoint should be chosen for monitoring (e.g., /r/popular); endpoints like /info are significantly cheaper for instances, but can miss instances that are online yet experiencing degraded real-world performance.

Why is this needed?

While information like geographical location is useful, instance metrics help people choose an instance based on reliability and performance using real-world data. Additionally, instances that fail to meet a reliability standard (e.g., >90% uptime over the last 30 days) may be removed from the list after a grace period to ensure service availability (this assumes Redlib itself is functional, but the instance is not; otherwise, this would make little sense).

perennialtech commented 7 months ago

Pinging @sigaloid for visibility regarding open issues on this repository.

sigaloid commented 7 months ago

Done: https://stats.uptimerobot.com/mpmqAs1G2Q