Prompt
How do I track uptime history on a customer-facing status page?
Latest observation
To track uptime history on a customer-facing status page, you typically want to combine incident history, availability calculations, and visual reporting in a way that’s easy for customers to trust.
1) Define what “uptime” means
Before tracking anything, decide:
- What counts as downtime: total outage, partial degradation, API-only issues, regional issues, etc.
- What’s the measurement window: 30 days, 90 days, 1 year, rolling periods.
- What systems are included: whole product, specific services, or endpoints.
- How you treat maintenance: excluded or included.
Be explicit on the status page so customers understand the numbers.
2) Record incidents with timestamps
For each incident, store:
- Start time
- End time
- Affected service/component
- Severity
- Customer impact summary
- Root cause, if appropriate
- Updates posted during the incident
This incident log becomes the source of truth for historical uptime.
3) Compute uptime from incident data
The basic formula is:
Uptime % = ((Total time in period - Downtime) / Total time in period) × 100
Example:
- In a 30-day period: 43,200 minutes total
- Downtime: 35 minutes
- Uptime = 99.919%
If you have partial outages or regional services, you may want separate metrics per component.
4) Show both recent history and long-term trends
Good customer-facing status pages usually include:
- Current status: operational / degraded / outage
- Recent incidents: last 7–30 days
- Availability history: monthly or annual uptime percentages
- Incident timeline: date, duration, affected service
- SLA/SLO performance if relevant
A common format is a table like:
| Month | Uptime |
|---|---|
| Jan | 99.98% |
| Feb | 99.95% |
| Mar | 100.0% |
5) Use monitoring data as the source
To make uptime history accurate, link your status page to monitoring tools:
- Synthetic checks
- Application health checks
- Infrastructure monitoring
- Error-rate and latency alerts
Many teams use a monitoring system to detect incidents, then publish those incidents to the status page.
6) Separate planned and unplanned downtime
Customers generally want to know:
- Unplanned downtime: incidents/outages
- Planned maintenance: scheduled work
You can display maintenance separately so the uptime metric remains meaningful.
7) Make the history transparent
A customer-facing status page should include:
- Clear incident descriptions
- Exact timestamps and timezone
- Whether the incident is fully resolved
- Historical archive of past incidents
- Methodology for calculating uptime
Transparency builds trust, especially if there were outages.
8) Automate reporting if possible
If you expect this to be ongoing, automate:
- Incident creation from alerts
- Start/end time capture
- Uptime calculations
- Monthly uptime summaries
- Status page updates
This reduces manual errors and keeps the page current.
9) Consider third-party status page tooling
If you don’t want to build it yourself, tools like:
- Atlassian Statuspage
- Better Uptime
- Instatus
- Cachet
- Datadog Status Pages
can automatically show incident history and uptime statistics.
10) Be careful with customer expectations
If you publish uptime numbers:
- Define the calculation method clearly
- Decide whether minor degraded performance counts
- Avoid misleading “100% uptime” if there were service issues
- Keep archived incident details available
If you want, I can also help you design:
- a data model for uptime tracking,
- a database schema, or
- a status page layout with example metrics.