Uptime: 24 h uptime on the card differs from the detail view
BugShipped· 13 days ago
Imported from GitHub issue El-SaMa/oma#220 by @El-SaMa.
Same monitor, same minute: card shows 80.20% (24 hours), detail modal shows 76.24% (24 HOURS).
Cause: the card uses the checker's live 24 h figure (KumaLiveStats.uptime24h in listUptimeMonitors), the detail computes up/(up+down) from getMonitorBeats(24) in services/core-api/src/uptime/stats.ts. Pick one source (checker figure when present, beats as fallback) in both places.
Check: https://oma.lanetti.fi/apps/uptime (open "ops: disk space").