Add monitor fields
This commit is contained in:
1 parent
786be29139
commit
6000096883
2 files changed
+20
No files matched your search
@@ -38,6 +38,20 @@ const MonitorSchema = mongoose.Schema(
|
||||
"distributed_http",
|
||||
],
|
||||
},
|
||||
jsonPath: {
|
||||
type: String,
|
||||
},
|
||||
expectedValue: {
|
||||
type: String,
|
||||
},
|
||||
matchMethod: {
|
||||
type: String,
|
||||
enum: [
|
||||
"equal",
|
||||
"include",
|
||||
"regex",
|
||||
],
|
||||
},
|
||||
url: {
|
||||
type: String,
|
||||
required: true,
|
||||
|
||||
Reference in new issue
Block a user