Add real percentages for the uptime of monitors to the main dashboard.

This commit is contained in:
M M committed 2024-08-31 17:58:23 -07:00
1 parent 319e7c1f3d
commit 654b9d2038
2 files changed
+24

No files matched your search

+4
View File
@@ -44,6 +44,10 @@ const MonitorSchema = mongoose.Schema(
type: Number,
default: 60000,
},
uptimePercentage: {
type: Number,
default: undefined,
},
notifications: [
{
type: mongoose.Schema.Types.ObjectId,