[monitor] 支持网站监控类型,降低雪花算法UUID最大值解决ts json解析大数问题
This commit is contained in:
@@ -102,7 +102,7 @@ export class MonitorNewComponent implements OnInit {
|
||||
"params": this.params
|
||||
};
|
||||
this.isSpinning = true;
|
||||
this.monitorSvc.newMonitor(detectMonitor)
|
||||
this.monitorSvc.detectMonitor(detectMonitor)
|
||||
.subscribe(message => {
|
||||
this.isSpinning = false;
|
||||
if (message.code === 0) {
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
"icon": "anticon-cloud",
|
||||
"children": [
|
||||
{
|
||||
"text": "http",
|
||||
"link": "/monitors?app=http",
|
||||
"text": "api",
|
||||
"link": "/monitors?app=api",
|
||||
"i18n": "monitor.app.http"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
},
|
||||
"app": {
|
||||
"": "监控类型",
|
||||
"api": "HTTP API",
|
||||
"http": "HTTP API",
|
||||
"ping": "PING连通性",
|
||||
"telnet": "Telnet端口可用性",
|
||||
|
||||
Reference in New Issue
Block a user