Add monitor fields

This commit is contained in:
dongfang committed 2025-02-12 02:52:35 +00:00
1 parent 786be29139
commit 6000096883
2 files changed
+20

No files matched your search

+14
View File
@@ -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,