I’ve wanted a badge that shows the instance uptime and couldn’t find any, so I created one. It’s available at https://uptime.lemmings.world/{your-domain}.svg and gets its data from fediverse.observer.

Examples:

The documentation is available at https://uptime.lemmings.world. Feel free to use it for your instance if you wish to.

  • cbarrick@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    What’s the time window?

    Like, is this uptime over the past 30d? Over the past year? For all time?

    IMO, 30d and 365d are the most useful windows.

    • Rikudou_Sage@lemmings.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      All time. I haven’t checked how to get other data from Fediverse.observer yet, their graphs show data from different points in time, but their api only has documentation for the field uptime_alltime (which I’m using).