add timings to model
This commit is contained in:
1 parent
e3fde8d564
commit
9925e10ffc
1 file changed
+9
@@ -36,6 +36,15 @@ const BaseCheckSchema = mongoose.Schema({
|
|||||||
responseTime: {
|
responseTime: {
|
||||||
type: Number,
|
type: Number,
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* Timings from Got.
|
||||||
|
*
|
||||||
|
* @type {Object}
|
||||||
|
*/
|
||||||
|
timings: {
|
||||||
|
type: Object, // Accepts any object
|
||||||
|
default: {},
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* HTTP status code received during the check.
|
* HTTP status code received during the check.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in new issue
Block a user