The snapshot read the incidents of a page without the organization, which
row level security keeps from using an index, and every status page
server asking for a page built it on its own. Snapshots now filter by the
organization and servers asking at the same time share one build, which
does not end when one of them gives up.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Every console page that shows monitor status (monitors, incidents,
monitor details, evidence) went through one loader that read, for all of
the organization's monitors:
- the newest result per monitor and region, by scanning a day of raw
results;
- the bars of the selected range, from raw results for ranges up to 24h,
though only one page of monitors is shown;
- when each monitor first reported, scanning two days of results.
With 3000 monitors that took about a second, growing with the number of
results. Now:
- latest_results keeps the newest result per monitor and region,
updated as results are stored (migration 00055 fills it from the last
day);
- bars are loaded only for the monitors a page shows;
- first data is loaded per monitor on its page, and the monitor list asks
only for the organization's earliest data, by index;
- monitor, region and incident queries name the organization, so their
indexes are used instead of row security filtering whole tables.
Public status pages also read only their own monitors' latest results
and hourly buckets instead of the whole organization's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
The editor rendered a group select and label field for every monitor of
the organization, about 2 MB of HTML for 3000 monitors. Only monitors on
the page carry their fields now; others get them from a template when
ticked. A filter field narrows long lists, and "Add all" ticks only the
monitors it leaves visible.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Checkers long-poll the API for up to 25 seconds, longer than a shutdown
waits for requests, so a rollout cut their polls off (GOAWAY, timeouts).
A draining API now ends long polls within about a second, empty, and the
checker's next poll reaches another instance.
The chart rolls the API and status page servers one pod at a time with
maxUnavailable 0, and a new pod serves for 5 seconds before an old one
goes, so the ingress has picked it up.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
A checker logged only failures, so after an outage of the API, as during a
rollout, its log ended on an error and read as stuck although it had
recovered. Polling and reporting now log once when they work again, with
how long they failed and how many results the backlog delivered. A long
poll answered empty at once is not repeated at once either.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
The monitor list gets a sort switcher: the organization's own order, by
default, or by name, status (problems first), uptime (worst first) or
latency (slowest first). The choice is remembered in a cookie; paging
follows it.
"Arrange monitors" shows the whole tree with each group's monitors to
drag, or move with up and down, into the order wanted; every change is
saved at once through PUT /api/v1/org/monitors/order, which needs write
access to every monitor given and is audited. Monitors without a position
follow the positioned ones, by name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Platform admins set a default for how many monitors a status page may
show, and an override per organization, like the other limits. Saving a
page with more gives 422 page_monitor_limit; a page beyond a lowered
limit keeps its monitors but cannot grow. The page editor names the
limit and the organization's usage lists it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
The status page editor gets "Add all" and "Remove all" above its monitor
list. Opening the signup page while signed in leads to the monitor list,
as the login page already did.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
The status counts above the monitor list are now links: one shows only
the monitors of that status as a flat list, the active one shows all
again. The filter combines with the search and the range and is kept by
the search form and the pager; an unknown status shows everything.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
A custom domain now needs a single record: a CNAME to
<label>.<status page host>, where the label is derived from the page's
domain token. The wildcard record of the status page host routes it, and
since the target belongs to one page alone it also proves who set it up;
a CNAME to the shared host would not, as any organization could then
claim a domain pointing at the platform. The TXT record stays for domains
whose CNAME cannot be seen, behind a proxy or without a subdomain.
- The domain watch looks for the records of a new domain every minute for
a quarter of an hour, then every ten minutes for two days, and verifies
it on its own; "Check now" still works.
- Verified domains are checked daily. When the record is gone the owners
are told, and a week later the domain is switched off, so a record left
behind cannot be taken over. Domains verified before keep working
without checks.
- The editor shows the CNAME record first, the TXT way for proxies and
apex domains, how the domain was verified and when a missing record will
switch it off. The API returns cname_record and domain_missing_since.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
A checker's long poll ends with BLPOP waiting the rest of it, often below
a second, which go-redis rounded up to one second with a warning in the
log; the poll then ran up to a second too long. Such waits now pass BLPOP
a fraction of a second, which Redis takes since 6.0. A session's sliding
expiry, which can be below a second near its absolute end, uses PEXPIRE.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Status page servers order certificates on demand. Verified domains were
already the only ones they would order for, but nothing bounded how many:
an organization switching domains, or many organizations at once, could use
up the CA's rate limits that all servers sharing an ACME account depend on,
and every handshake or request for a made-up name was passed on to the API.
- Before a new order (not a renewal) the server asks the API
(POST /agent/v1/certificates). It allows verified domains of pages that
server serves, within limits per domain and day, per organization and
day, and per ACME account owner and hour (UPTIME_CERTS_*), counted
across all instances.
- An organization can set a new custom domain at most 10 times a day.
- The server remembers names without a page for a minute and passes at
most 20 unknown names a second on to the API; pages the sync cached are
not affected. Only real pages are recorded as visited.
- The page editor explains the three steps: the TXT record, the CNAME
record with the platform's status page host as its target (or the
organization's own servers), apex domains, and when HTTPS follows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
The release job finished about 20 minutes before the ci workflow had
pushed the tag's images. Clusters following the chart repository then
rolled out a release whose image did not exist yet: the migrate hook
sat in ImagePullBackOff until its deadline and the upgrade failed
(0.2.1, 0.3.0 and 0.4.0 on app.uptimesebi.net).
Wait up to 90 minutes for the API, checker and status page images of
the tag before publishing the chart.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With TLS on, the console's and the status pages' ingresses now send HTTP to
HTTPS: through a redirectScheme middleware the chart creates for Traefik,
which is chained before any middlewares already annotated, and by
annotation for ingress-nginx and HAProxy. ingress.tls.redirect and
statuspage.ingress.tls.redirect turn it off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
A monitor went down only when every assigned region had failed and
reported recently, so one region whose checkers were gone kept a monitor
up for good, even while all other regions reported its target failing.
Regions without recent results are now left out: a monitor goes down
when every region that reported recently has failed. One region failing
while another succeeds still does not alert, and with every region
silent nothing is judged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
A region whose checkers had all gone left its monitors looking up: the
console and status pages took the last result, however old, and nobody
was told.
- A region's last result counts only while it is younger than the
evaluator's staleness (3 intervals, at least 2 minutes); older ones
show as "no data since …" in the console and leave status page
components unknown instead of operational.
- A monitor no region has reported for recently is marked "not being
checked", counted on the dashboard with an explanation, and noted on
its page.
- A region watch on every API replica emails the platform's admins
(platform regions) or the organization's owners (own regions) once a
region with checkers and enabled monitors has had no live checker for
UPTIME_REGION_ALERT_AFTER (default 5m), and again when one is back.
The dashboard names such regions at once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Each refresh sent the whole page again even when nothing had changed.
Status page servers now send the checksum of their copy (If-None-Match)
and the API answers 304 when the page, leaving out when it was
generated, is unchanged; the server then only marks its copy current.
The checksum is kept on disk with the page, so it survives restarts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
A status page server only knew the pages visitors had asked it for, so
during an API outage a server that had never seen a page could not
serve it. The agent API now lists the pages a server serves
(GET /agent/v1/pages/index), following the same rule as single pages,
and status page servers fetch all of them on start and every five
minutes, also dropping those no longer listed. Pages visited within the
last ten minutes are still refreshed every 30 seconds; the outdated
notice now appears after ten minutes, twice the sync interval.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
The platform's status page servers handed out every published page,
including those of organizations running their own servers. Once one of
an organization's own status page servers has connected, the agent API
now answers the platform's servers 404 for its pages, so they drop them
from their cache, and only the organization's servers serve them. A
created but never connected token changes nothing, so moving over does
not take the pages offline.
The console no longer links such pages to the platform's address,
which would not serve them; the editor says who does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Switching a check type off in the admin area removed it for every
organization, own checkers included, and hid it from the organization's
own choice. The platform switch now only keeps such monitors off the
platform's regions: organizations with regions of their own still create
them there (422 check_type_own_checkers_only on a platform region), and
the editor marks them "own checkers only". Passive types, which no
checker runs, stay switched off entirely.
The organization's check types are chosen independently of the
platform's: its settings list every type, and the platform switch no
longer rewrites that choice.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Accounts open tickets under Support and admins answer them under Admin →
Support tickets.
- A ticket is open while it waits for the admins and answered while it
waits for the account. Either side can close or reopen it, and a reply
reopens it.
- The admins are mailed about new tickets and replies, and the account
about answers.
- A ticket can name the active organization and point at a monitor,
notification channel, alert group, status page or incident in it.
Each must be something the account can read.
- Next to the conversation, admins see the account at a glance: state,
sign-in, organizations with their limits and usage, and open tickets.
- Admins switch support off and limit how many tickets an account has
open at once.
- Suspended accounts and those yet to accept the terms reach support too;
a suspended account opens one ticket.
- Tickets are part of the account export and are deleted with the
account.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
- The console header folds its navigation into a menu below 1024px.
- Pages use narrower gutters on phones.
- Monitor rows keep name and uptime in place on narrow screens.
- Toolbars and the range switch wrap.
- Tables scroll sideways instead of squeezing their columns.
- Form fields keep 16px text on touch screens so iOS does not zoom in.
- The status page footer wraps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Each row of the incident list offers "Set status" to those who may write
the monitor's incidents: a status (built-in or own, the next one
preselected), an optional message and whether it shows on status pages.
An update may now just change the status, without a message.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Organizations add statuses of their own, with a name and a color, next
to the built-in ones (Settings, incident statuses; API under
/org/incident-statuses, managed with org.manage). Updates pick them by
ID; the console and status pages show them in their color. Renaming or
recoloring carries into the history; a status in use cannot be deleted
(409 status_in_use). API responses give status "custom" with status_id,
status_name and status_color.
Status pages now list recent incidents before planned maintenance.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Outages open and close with their monitor; now people can say what is
going on. An incident gets an optional title and updates, each with a
status (investigating, identified, monitoring, resolved) and a Markdown
message, shown on status pages or kept as an internal note. The incident
shows the latest update's status, resolved once its monitor recovered.
The console lists title and status and has a page per incident with its
timeline (outage, updates, recovery) and, for incidents.write in the
monitor's group, forms to post updates and set the title. Status pages
show title, status and public updates. API: GET/PATCH
/org/incidents/:id, POST and DELETE /org/incidents/:id/updates; the
incident list carries title and status; the organization export
includes the updates.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
An organization may now have several owners; the unique index allowing
only one is gone. Owners make members owners or take it back, their own
included, through PUT /api/v1/org/members/:user/owner; handing an
organization over is making someone else owner and stepping down. The
last owner cannot step down, and changes serialize on a per-organization
lock so two owners stepping down at once cannot leave none. A former
owner without roles keeps working as Admin. Owners still cannot be
removed while they are owners.
Deleting an account now takes along only the organizations it is the
last owner of, counted under the same lock; it just leaves those with
further owners. The members page offers "Make owner", "Remove as owner"
and "Step down as owner" to owners.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Terms of service join the legal notice and privacy policy, for the
platform only. Every account accepts the platform's privacy policy and
terms: on sign-up (also through an invitation) by ticking a box for the
versions shown, and after a sign-in through a provider right away. When
an admin saves a material change with "everyone has to accept again",
the document gets a new version and each account is asked at its next
request; corrections ask nobody. Acceptances are kept per version with
their time, as proof, and are part of the data export.
Until an account accepted, and while it is suspended, it can read the
documents, export its data, delete itself and sign out, nothing else:
pages lead to /consent or /account/suspended, other API calls answer 403
consent_required or account_suspended. Suspended accounts therefore sign
in again, by password or provider; their API tokens stay blocked.
Deleting an account deletes the organizations it owns, monitors and all,
also when they have other members (each organization has one owner); it
no longer refuses. The account settings name those organizations first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3