Skip to content

Add configurable time range for "Recent Checks" and uptime percentage over a custom period. #1646

@CarmJos

Description

@CarmJos

Describe the feature request

Currently, Gatus displays the "Recent Checks" section on the status page with a time range that automatically adapts based on the configured interval. This makes it difficult to get a stable, long-term view of service health (e.g., over the last 30, 60, or 90 days). I propose adding a configuration option (e.g., period) that allows users to define a fixed time window for the "Recent Checks" graph and also display the corresponding uptime percentage for that exact period. Additionally, the badge for uptime statistics could be extended to support custom durations beyond the current 30‑day limit.

(Including web display and original API for external access.)

Why do you personally want this feature to be implemented?

I rely on Gatus to monitor critical services, and I need to report on availability over longer business cycles, such as a quarter (90 days). With the current behavior, the "Recent Checks" view changes as the interval varies, making it inconsistent for historical comparison. Manually extracting data from the badge or external systems is cumbersome. Having a persistent, configurable time range would give me a clear, standardised view of service health over any required period and allow me to track uptime SLAs directly within Gatus.

How long have you been using this project?

2 months

Additional information

Image

Just like github's display, including 90 days uptime status and uptime percentage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions