Help centerYour app's customers
Status page
A status page with your SaaS branding on every customer domain, showing 90-day availability measured from real traffic plus the incidents you publish.
When something goes down, your app's customers want to know whether the problem is on their side or yours. The
status page answers that with your branding, at each customer's address:
https://joesbarbershop.com/__tenanci/status. Availability comes from the real traffic of the project's domains;
incident and maintenance notices are published by you in the dashboard.
What's on the page
- Current status: a colored banner saying all systems are operational, some users may see slowness or errors, there's an outage, maintenance is in progress, or there's no recent data.
- Availability over the last 90 days: one bar per day (green, yellow or red; gray when there was no traffic) and the percentage for the period.
- Now: open incidents and maintenance starting within the next 24 hours, with every update.
- Recent incidents: those resolved in the last 14 days and maintenance scheduled further ahead.
The page carries the title, description, logo and color you choose, and nothing from Tenanci. It isn't indexed by search engines and refreshes every minute.
Turn on the page
- Open the project and go to the Status tab.
- Turn on Status page enabled.
- Fill in the Title (defaults to the project name) and, optionally, the Description (optional).
- Click Upload logo or paste the Logo URL (https).
- Pick the Color.
- Click Save.
Once it's on, the card shows a sample address. The page opens on every domain in the project: just add
/__tenanci/status to the customer's domain.
How availability is calculated
Tenanci looks at your origin's responses across all active domains in the project, hour by hour (hours with fewer than 5 requests are left out):
| Hour | When | Counts as |
|---|---|---|
| up | up to 5% 5xx errors | 100% |
| degraded | more than 5% 5xx errors | half an hour down |
| down | more than 50% 5xx errors | a full hour down |
Current status uses the last 15 minutes: more than 5% 5xx errors shows slowness or errors, more than 50% shows an outage. A published incident also changes the banner: an open Outage shows an outage, a Degraded performance shows slowness, and Scheduled maintenance that has started shows maintenance.
Publish an incident
- On the Status tab, in the Incidents card, write the Title.
- Under Type, choose Degraded performance, Outage or Scheduled maintenance.
- Write the Message your customers will read and click Publish.
- As things evolve, pick the new status (Investigating, Identified, Monitoring or Resolved), write the update and click Publish update.
Each update shows on the page with its date and time. To take an incident off the page, use Delete. With the page turned off, the address answers "not found".
Through the API
Publish incidents straight from your monitoring with
POST /projects/:id/incidents (key with projects:write):
curl -X POST https://api.tenanci.com/v2/projects/prj_8f3k2m/incidents \
-H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"title":"Slow calendar loading","impact":"minor","message":"We are looking into slow loading of appointment slots."}'impact is minor (degraded performance), major (outage) or maintenance. To schedule maintenance, send
"impact": "maintenance" with the start time in startedAt (ISO 8601); it shows under Now starting 24 hours
before.
To publish an update, use POST /projects/:id/incidents/:incidentId
with status (investigating, identified, monitoring or resolved) and message:
curl -X POST https://api.tenanci.com/v2/projects/prj_8f3k2m/incidents/inc_8f2k... \
-H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"status":"resolved","message":"Back to normal. Slots are loading normally again."}'Page settings and the incident list live at GET /projects/:id/status-page and
PUT /projects/:id/status-page (enabled, title, description, logoUrl,
color as #rrggbb). An incident comes off the page with
DELETE /projects/:id/incidents/:incidentId.

