Automated developer-oriented status page with alerting and incident support
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 startdocker run -p 8080:8080 --name gatus ghcr.io/twin/gatus:stableYou can also use Docker Hub if you prefer:
docker run -p 8080:8080 --name gatus twinproduction/gatus:stableFor more details, see Usage
❤ Like this project? Please consider sponsoring me.
Have any feedback or questions? Create a discussion.
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.
The main features of Gatus are:
docker run -p 8080:8080 --name gatus ghcr.io/twin/gatus:stableYou can also use Docker Hub if you prefer:
docker run -p 8080:8080 --name gatus twinproduction/gatus:stableIf 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.
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:
alerting.slack in one file and alerting.pagerduty in another file)endpoints in multiple files and each endpoint will be added to the final list of endpoints)metrics, alerting.slack.webhook-url, etc.) may only be defined once to forcefully avoid any ambiguityalerting.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.
| Parameter | Description | Def
Include clickable endpoint links in built-in alert notifications
`[CERTIFICATE_EXPIRATION]` shows the old cert after renewal
Allow setting a different priority for resolved ntfy notifications
alerting.matrix should allow client configuration including proxy-url
maintenance-windows not honored - unwanted alerts sent
ICMP on IPv6 with Addresses doesn't really work
Allow multiple checks per endpoint
Pocket ID | oidc
Help about Telegram Custom alerts
feat: add ability to add labels/tags to endpoints