udpate monitor model
This commit is contained in:
1 parent
155adf549e
commit
74e80f086a
1 file changed
+12
@@ -28,6 +28,18 @@ const MonitorSchema = mongoose.Schema(
|
||||
type: Boolean,
|
||||
default: undefined,
|
||||
},
|
||||
statusWindow: {
|
||||
type: [Boolean],
|
||||
default: [],
|
||||
},
|
||||
statusWindowSize: {
|
||||
type: Number,
|
||||
default: 5,
|
||||
},
|
||||
statusWindowThreshold: {
|
||||
type: Number,
|
||||
default: 0.6,
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
required: true,
|
||||
|
||||
Reference in new issue
Block a user