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.
<details> <summary><b>Quick start</b></summary>docker run -p 8080:8080 --name gatus twinproduction/gatus
You can also use GitHub Container Registry if you prefer:
docker run -p 8080:8080 --name gatus ghcr.io/twin/gatus
For more details, see Usage
</details>❤ 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 twinproduction/gatus
You can also use GitHub Container Registry if you prefer:
docker run -p 8080:8080 --name gatus ghcr.io/twin/gatus
If you want to create your own configuration, see Docker for information on how to mount a configuration file.
</details>Here's a simple example:
endpoints: - name: website # Name of your endpoint, can be anything url: "https://twin.sh/health" interval: 5m # Duration to wait between every status check (default: 60s) conditions: - "[STATUS] == 200" # Status must be 200 - "[BODY].status == UP" # The json path "$.status" must be equal to UP - "[RESPONSE_TIME] < 300" # Response time must be under 300ms - name: make-sure-header-is-rendered url: "https://example.org/" interval: 60s conditions: - "[STATUS] == 200" # Status must be 200 - "[BODY] == pat(*<h1>Example Domain</h1>*)" # Body must contain the specified header
This example would look similar to this:

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)debug, metrics, alerting.slack.webhook-url, etc.) may only be defined once to forcefully avoid any ambiguity
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})See examples/docker-compose-postgres-storage/config/config.yaml for an example.
If you want to test it locally, see Docker.
| Parameter | Description | Default |
|---|---|---|
debug | Whether to enable debug logs. | false |
metrics | Whether to expose metrics at /metrics. | false |
storage | Storage configuration. | {} |
alerting | Alerting configuration. | {} |
endpoints | Endpoints configuration. | Required [] |
external-endpoints | External Endpoints configuration. | [] |
security | Security configuration. | {} |
disable-monitoring-lock | Whether to disable the monitoring lock. | false |
skip-invalid-config-update | Whether to ignore invalid configuration update. <br />See Reloading configuration on the fly. | false |
web | Web configuration. | {} |
web.address | Address to listen on. | 0.0.0.0 |
web.port | Port to listen on. | 8080 |
web.read-buffer-size | Buffer size for reading requests from a connection. Also limit for the maximum header size. | 8192 |
web.tls.certificate-file | Optional public certificate file for TLS in PEM format. | `` |
web.tls.private-key-file | Optional private key file for TLS in PEM format. | `` |
ui | UI configuration. | {} |
ui.title | Title of the document. | Health Dashboard ǀ Gatus |
ui.description | Meta description for the page. | Gatus is an advanced.... |
ui.header | Header at the top of the dashboard. | Health Status |
ui.logo | URL to the logo to display. | "" |
ui.link | Link to open when the logo is clicked. | "" |
ui.buttons | List of buttons to display below the header. | [] |
ui.buttons[].name | Text to display on the button. | Required "" |
ui.buttons[].link | Link to open when the button is clicked. | Required "" |
maintenance | Maintenance configuration. | {} |
Endpoints are URLs, applications, or services that you want to monitor. Each endpoint has a list of conditions that are evaluated on an interval that you define. If any condition fails, the endpoint is considered as unhealthy. You can then configure alerts to be triggered when an endpoint is unhealthy once a certain threshold is reached.
| Parameter | Description | Default |
|---|---|---|
endpoints | List of endpoints to monitor. | Required [] |
endpoints[].enabled | Whether to monitor the endpoint. | true |
endpoints[].name | Name of the endpoint. Can be anything. | Required "" |
endpoints[].group | Group name. Used to group multiple endpoints together on the dashboard. <br />See Endpoint groups. | "" |
endpoints[].url | URL to send the request to. | Required "" |
endpoints[].method | Request method. | GET |
endpoints[].conditions | Conditions used to determine the health of the endpoint. <br />See Conditions. | [] |
endpoints[].interval | Duration to wait between every status check. | 60s |
endpoints[].graphql | Whether to wrap the body in a query param ({"query":"$body"}). | false |
endpoints[].body | Request body. | "" |
endpoints[].headers | Request headers. | {} |
endpoints[].dns | Configuration for an endpoint of type DNS. <br />See Monitoring an endpoint using DNS queries. | "" |
endpoints[].dns.query-type | Query type (e.g. MX). | "" |
endpoints[].dns.query-name | Query name (e.g. example.com). | "" |
endpoints[].ssh |


AI一键生成PPT,就用博思AIPPT!
博思AIPPT,新一代的AI生成PPT平台,支持智能生成PPT、AI美化PPT、文本&链接生成PPT、导入Word/PDF/Markdown文档生成PPT等,内置海量精美PPT模板,涵盖商务、教育、科技等不同风格,同时针对每个页面提供多种版式,一键自适应切换,完美适配各种办公场景。


AI赋能电商视觉革命,一站式智能商拍平台
潮际好麦深耕服装行业,是国内AI试衣效果最好的软件。使用先进AIGC能力为电商卖家批量提供优质的、低成本的商拍图。合作品牌有Shein、Lazada、安踏、百丽等65个国内外头部品牌,以及国内10万+淘宝、天猫、京东等主流平台的品牌商家,为卖家节省将近85%的出图成本,提升约3倍出图效率,让品牌能够快速上架。


企业专属的AI法律顾问
iTerms是法大大集团旗下法律子品牌,基于最先进的大语言模型(LLM)、专业的法律知识库和强大的智能体架构,帮助企业扫清合规障碍,筑牢风控防线,成为您企业专属的AI法律顾问。


稳定高效的流量提升解决方案,助力品牌曝光
稳定高效的流量提升解决方案,助力品牌曝光


最新版Sora2模型免费使用,一键生成无水印视频
最新版Sora2模型免费使用,一键生成无水印视频


实时语音翻译/同声传译工具
Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手, 它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。


选题、配图、成文,一站式创作,让内容运营更高效
讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。


AI辅助编程,代码自动修复
Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速 、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。


最强AI数据分析助手
小浣 熊家族Raccoon,您的AI智能助手,致力于通过先进的人工智能技术,为用户提供高效、便捷的智能服务。无论是日常咨询还是专业问题解答,小浣熊都能以快速、准确的响应满足您的需求,让您的生活更加智能便捷。


像人一样思考的AI智能体
imini 是一款超级AI智能体,能根据人类指令,自主思考、自主完成、并且交付结果的AI智能体。
最新AI工具、AI资讯
独家AI资源、AI项目落地

微信扫一扫关注公众号