this post was submitted on 03 Oct 2023
3 points (100.0% liked)

Community Meta Discussion

725 readers
4 users here now

founded 1 year ago
MODERATORS
 

Cross-posted from https://lemmy.ml/post/5719058


I've been working on a simple opt-in solution, primarily for Lemmy end users like me (but also helpful for admins), to easily check the status/health of their favourite instance.

๐ŸŒŽ lemmy-meter.info

You can find the details of the implementation in lemmy-meter github repo.


โ“ @admins: would you be interested in adding your instance to lemmy-meter?

You don't need to do anything except confirming - I'll handle the rest. It should only take a few minutes for your instance to show up in lemmy-meter.

Out of the box it will send only 4 HTTP GET requests per minute to your instance. However that is totally configurable if it sounds too much or too little.


you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

To be precise, it's not 4 requests to the same endpoint.

lemmy-meter probes 4 endpoints each once per minute:

  • The landing page
  • api.getPosts (limit=1)
  • api.getComments (limit=1)
  • api.getCommunities (limit=1)

That's b/c I've frequently experienced cases when the landing page works but some mobile APIs don't and vice versa.

Hope that makes sense.


As I said, if after some time you feel like this is too much load, reach out to me and I can easily configure lemmy-meter to probe less frequently.

[โ€“] [email protected] 2 points 1 year ago

Oh, ok, if its four different calls for different end points then that makes sense.