Add distributed http type to monitor
This commit is contained in:
1 parent
1303497947
commit
50e3e2b97c
1 file changed
+9
-1
@@ -28,7 +28,15 @@ const MonitorSchema = mongoose.Schema(
|
|||||||
type: {
|
type: {
|
||||||
type: String,
|
type: String,
|
||||||
required: true,
|
required: true,
|
||||||
enum: ["http", "ping", "pagespeed", "hardware", "docker", "port"],
|
enum: [
|
||||||
|
"http",
|
||||||
|
"ping",
|
||||||
|
"pagespeed",
|
||||||
|
"hardware",
|
||||||
|
"docker",
|
||||||
|
"port",
|
||||||
|
"distributed_http",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|||||||
Reference in new issue
Block a user