Monitors / How a monitor works
How a monitor works
Schedule, retries, statuses and the settings shared by every type of monitor.
A monitor runs one check at a regular interval and keeps every result. This page covers what all monitors have in common. The fields specific to each protocol are in the guides of each family.
Choose a protocol
The Monitor protocol list groups the sixteen protocols in five families: Web & network, Databases, Messaging & mail, Containers and Jobs & crons. The fields of the What to monitor card change with the protocol you pick.


| Protocol | The check succeeds when | Guide |
|---|---|---|
| HTTP | The URL answers with an accepted status code, fast enough, and the assertions pass. | Websites and APIs |
| WebSocket Upgrade | The server accepts the WebSocket handshake (101 Switching Protocols). |
Network services |
| TCP | A TCP connection opens on the port. | Network services |
| Ping | Every ICMP echo request gets a reply. | Network services |
| DNS | The DNS server returns a record of the chosen type. | Network services |
| PostgreSQL, MySQL / MariaDB, Microsoft SQL Server | The query runs. | Databases |
| Oracle Database | The query runs. | Databases |
| Redis | The command runs. | Databases |
| MongoDB | The command returns ok: 1. |
Databases |
| SMTP | The SMTP handshake succeeds. No email is sent. | Messaging |
| Kafka producer | A message is produced on the topic. | Messaging |
| RabbitMQ | Every management node reports no alarm. | Messaging |
| Docker container | The container is running and, if it has a health check, healthy. | Docker containers |
| Push (heartbeat) | Your job calls the push URL before the deadline. Nothing is contacted. | Cron jobs |
Set the schedule
The Schedule card decides how often the check runs and how patient Uptime Kotlin is before raising an alert.


| Field | Default | Range | Meaning |
|---|---|---|---|
| Interval | 60 s | 10 to 3600 s | Time between two checks. |
| Timeout | 5 s | 1 to 120 s | A check without an answer after this delay fails. It must be shorter than the interval. |
| Retries | 3 | 1 to 10 | Checks run again after a failure before the monitor is marked down. |
| Retry delay | 60 s | 1 to 3600 s | Time between the end of a failed attempt and the next retry. |
A push monitor has no schedule of its own: it is evaluated every minute against the deadline you set, without retries.
A retry starts once the previous attempt has finished, timeout included. With the defaults, a service that stops answering is marked down at most 4 min 20 s later: up to 60 s until the next check, then 4 attempts of up to 5 s each, 60 s apart.
Understand the statuses
Each check gives one of these statuses, shown in the logs and on status pages:
- Healthy: the check succeeded.
- Degraded: the check failed but retries are left, or a ping lost some packets. No alert is sent yet.
- Unhealthy: the check still fails after the last retry. The monitor is down: an incident opens and the notifications go out.
- Paused: the monitor is disabled and runs no check.
Retries protect you from an alert for a single lost request. With the default schedule, a service has to fail for a few minutes in a row before you hear about it. Lower the retries for a critical service, raise them for a flaky one.
- Check
- Answer
- Result saved
- Failure and alert
A check every 60 seconds
The scheduler runs each monitor at its interval. Here an HTTP monitor calls the health endpoint of the API. The answer comes back with a 200 in 84 ms, and the result is saved in PostgreSQL as healthy.
Common settings
The Settings card holds the options that do not depend on the target.
- Enabled: switch it off to pause the monitor. A paused monitor keeps its history but runs no check, and its open incident closes.
- Keep history for: how long the results of this monitor are kept. Default follows the instance setting described below.
- Description: a free text, searched by the Filter monitors field of the sidebar.
HTTP monitors add their own settings to this card: see Monitor a website or an API.
Keep the history
Uptime Kotlin keeps two kinds of data for each monitor:
- Check results: one line per check, with its status, its duration and its message. They feed the Logs tab, Export CSV, the response time chart and the last-hour bar of the monitor page.
- Hourly summaries: for each hour, the number of checks, successes, warnings and failures, and the response times. They feed the uptimes over 24 hours, 7 and 30 days and the bars of status pages. They are kept as long as the monitor exists.
The summaries are computed at five past every hour. Check results older than the retention are deleted every night at 03:30, but only once their hour has been summarised: shortening the retention never changes an uptime.
- Check result
- Hourly summary
- Uptime read
- Purged results
Every check writes one result
Each check saves one line with its status, duration and message. With a 60 s interval, that is 60 lines an hour per monitor. They feed the Logs tab, the CSV export and the response time chart.
The default retention of the instance is set in Settings, under Data retention, and each monitor can override it with Keep history for. The retention goes from 7 days, the reach of the response time chart, to 3650 days. Forever keeps every result. Before shortening the history, Uptime Kotlin tells you how many results the next nightly purge will delete.
After an upgrade
When you upgrade from a version without hourly summaries, the first hourly run summarises the check results already in the database, up to 92 days per run. A longer history is caught up over the following hours.
Until that first run, the nightly purge deletes nothing and logs Probe log retention skipped: checks are not summarised into hourly rollups yet. Results deleted before the upgrade cannot be summarised.
Duplicate, pause or remove
The More actions menu of a monitor page offers:
- Maintenance: start a maintenance window for this monitor right away.
- Duplicate: open a new form filled with the same settings. Nothing is created until you save, so adjust the target first.
- Remove: delete the monitor and all its data. Type its name to confirm.
To pause a monitor, edit it and switch off Enabled.
