Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

gatus

> DevOps
Open source

Automated developer-oriented status page with alerting and incident support

11.7K stars0 likes1 views
WebsiteGitHub

About

Automated developer-oriented status page with alerting and incident support

Gatus is a developer-oriented health dashboard that gives you the ability to monitor your services using HTTP, ICMP, TCP, and even DNS queries as well as evaluate the result of said queries by using a list of conditions on values like the status code, the response time, the certificate expiration, the body and many others. The icing on top is that each of these health checks can be paired with alerting via Slack, Teams, PagerDuty, Discord, Twilio and many more.

I personally deploy it in my Kubernetes cluster and let it monitor the status of my core applications: https://status.twin.sh/

Looking for a managed solution? Check out Gatus.io.

Quick start
bash
docker run -p 8080:8080 --name gatus ghcr.io/twin/gatus:stable

You can also use Docker Hub if you prefer:

bash
docker run -p 8080:8080 --name gatus twinproduction/gatus:stable

For more details, see Usage

❤ Like this project? Please consider sponsoring me.

Have any feedback or questions? Create a discussion.

Table of Contents

  • Table of Contents
  • Why Gatus?
  • Features
  • Usage
  • Configuration
    • Endpoints
    • External Endpoints
    • Suites (ALPHA)
    • Conditions
      • Placeholders
      • Functions
    • Web
    • UI
    • Announcements
    • Storage
    • Client configuration
    • Tunneling
    • Alerting
      • Configuring AWS SES alerts
      • Configuring ClickUp alerts
      • Configuring Datadog alerts
      • Configuring Discord alerts
      • Configuring Email alerts
      • Configuring Gitea alerts
      • Configuring GitHub alerts
      • Configuring GitLab alerts
      • Configuring Google Chat alerts
      • Configuring Gotify alerts
      • Configuring HomeAssistant alerts
      • Configuring IFTTT alerts
      • Configuring Ilert alerts
      • Configuring Incident.io alerts
      • Configuring Line alerts
      • Configuring Matrix alerts
      • Configuring Mattermost alerts
      • Configuring Messagebird alerts
      • Configuring n8n alerts
      • Configuring New Relic alerts
      • Configuring Ntfy alerts
      • Configuring Opsgenie alerts
      • Configuring PagerDuty alerts
      • Configuring Plivo alerts
      • Configuring Pushover alerts
      • Configuring Rocket.Chat alerts
      • Configuring SendGrid alerts
      • Configuring Signal alerts
      • Configuring SIGNL4 alerts
      • Configuring Slack alerts
      • Configuring Splunk alerts
      • Configuring Squadcast alerts
      • Configuring Teams alerts (Deprecated)
      • Configuring Teams Workflow alerts
      • Configuring Telegram alerts
      • Configuring Twilio alerts
      • Configuring Vonage alerts
      • Configuring Webex alerts
      • Configuring Zapier alerts
      • Configuring Zulip alerts
      • Configuring custom alerts
      • Setting a default alert
    • Maintenance
    • Security
      • Basic Authentication
      • OIDC
    • TLS Encryption
    • Metrics
      • Custom Labels
    • Connectivity
    • Remote instances (EXPERIMENTAL)
  • Deployment
    • Docker
    • Helm Chart
    • Terraform
      • Kubernetes
  • Running the tests
  • Using in Production
  • FAQ
    • Sending a GraphQL request
    • Recommended interval
    • Default timeouts
    • Monitoring a TCP endpoint
    • Monitoring a UDP endpoint
    • Monitoring a SCTP endpoint
    • Monitoring a WebSocket endpoint
    • Monitoring an endpoint using gRPC
    • Monitoring an endpoint using ICMP
    • Monitoring an endpoint using DNS queries
    • Monitoring an endpoint using SSH
    • Monitoring an endpoint using STARTTLS
    • Monitoring an endpoint using TLS
    • Monitoring domain expiration
    • Concurrency
    • Reloading configuration on the fly
    • Endpoint groups
    • How do I sort by group by default?
    • Exposing Gatus on a custom path
    • Exposing Gatus on a custom port
    • Use environment variables in config files
    • Configuring a startup delay
    • Keeping your configuration small
    • Proxy client configuration
    • How to fix 431 Request Header Fields Too Large error
    • Badges
      • Uptime
      • Health
      • Health (Shields.io)
      • Response time
      • Response time (chart)
        • How to change the color thresholds of the response time badge
    • API
      • Interacting with the API programmatically
      • Raw Data
        • Uptime
        • Response Time
    • Installing as binary
    • High level design overview

Why Gatus?

Before getting into the specifics, I want to address the most common question:

Why would I use Gatus when I can just use Prometheus’ Alertmanager, Cloudwatch or even Splunk?

Neither of these can tell you that there’s a problem if there are no clients actively calling the endpoint. In other words, it's because monitoring metrics mostly rely on existing traffic, which effectively means that unless your clients are already experiencing a problem, you won't be notified.

Gatus, on the other hand, allows you to configure health checks for each of your features, which in turn allows it to monitor these features and potentially alert you before any clients are impacted.

A sign you may want to look into Gatus is by simply asking yourself whether you'd receive an alert if your load balancer was to go down right now. Will any of your existing alerts be triggered? Your metrics won’t report an increase in errors if no traffic makes it to your applications. This puts you in a situation where your clients are the ones that will notify you about the degradation of your services rather than you reassuring them that you're working on fixing the issue before they even know about it.

Features

The main features of Gatus are:

  • Highly flexible health check conditions: While checking the response status may be enough for some use cases, Gatus goes much further and allows you to add conditions on the response time, the response body and even the IP address.
  • Ability to use Gatus for user acceptance tests: Thanks to the point above, you can leverage this application to create automated user acceptance tests.
  • Very easy to configure: Not only is the configuration designed to be as readable as possible, it's also extremely easy to add a new service or a new endpoint to monitor.
  • Alerting: While having a pretty visual dashboard is useful to keep track of the state of your application(s), you probably don't want to stare at it all day. Thus, notifications via Slack, Mattermost, Messagebird, PagerDuty, Twilio, Google chat and Teams are supported out of the box with the ability to configure a custom alerting provider for any needs you might have, whether it be a different provider or a custom application that manages automated rollbacks.
  • Metrics
  • Low resource consumption: As with most Go applications, the resource footprint that this application requires is negligibly small.
  • Badges:
  • Dark mode

Usage

bash
docker run -p 8080:8080 --name gatus ghcr.io/twin/gatus:stable

You can also use Docker Hub if you prefer:

bash
docker run -p 8080:8080 --name gatus twinproduction/gatus:stable

If you want to create your own configuration, see Docker for information on how to mount a configuration file.

Here's a simple example:

…

This example would look similar to this:

If you want to test it locally, see Docker.

Configuration

By default, the configuration file is expected to be at config/config.yaml.

You can specify a custom path by setting the GATUS_CONFIG_PATH environment variable.

If GATUS_CONFIG_PATH points to a directory, all *.yaml and *.yml files inside said directory and its subdirectories are merged like so:

  • All maps/objects are deep merged (i.e. you could define alerting.slack in one file and alerting.pagerduty in another file)
  • All slices/arrays are appended (i.e. you can define endpoints in multiple files and each endpoint will be added to the final list of endpoints)
  • Parameters with a primitive value (e.g. metrics, alerting.slack.webhook-url, etc.) may only be defined once to forcefully avoid any ambiguity
    • To clarify, this also means that you could not define alerting.slack.webhook-url in two files with different values. All files are merged into one before they are processed. This is by design.

You can also use environment variables in the configuration file (e.g. $DOMAIN, ${DOMAIN})

⚠️ When your configuration parameter contains a $ symbol, you have to escape $ with $$.

See Use environment variables in config files or examples/docker-compose-postgres-storage/config/config.yaml for examples.

If you want to test it locally, see Docker.

Configuration

| Parameter | Description | Def

Issues· 396 open

View all issuesOpen on GitHub
  • #1826

    Include clickable endpoint links in built-in alert notifications

    area/alertingUpdated Sep 28, 2026
  • #1824

    `[CERTIFICATE_EXPIRATION]` shows the old cert after renewal

    Updated Sep 27, 2026
  • #1817

    Allow setting a different priority for resolved ntfy notifications

    Updated Sep 27, 2026
  • #1806

    alerting.matrix should allow client configuration including proxy-url

    area/alertingUpdated Sep 27, 2026
  • #1815

    maintenance-windows not honored - unwanted alerts sent

    bugUpdated Sep 27, 2026
  • #1800

    ICMP on IPv6 with Addresses doesn't really work

    bugUpdated Sep 26, 2026
  • #149

    Allow multiple checks per endpoint

    Updated Sep 24, 2026
  • #1802

    Pocket ID | oidc

    bugarea/securityUpdated Sep 24, 2026
  • #1809

    Help about Telegram Custom alerts

    help wantedarea/alertingUpdated Sep 22, 2026
  • #1058

    feat: add ability to add labels/tags to endpoints

    featurearea/uiUpdated Sep 19, 2026

> Tags

Goalertingcontainerdashboarddevops

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理