[manager,webapp]新增监控大类别,支持自定义监控页面菜单自动渲染

This commit is contained in:
tomsun28
2022-03-05 15:17:52 +08:00
parent 326cc35199
commit 36926f0fa2
15 changed files with 65 additions and 45 deletions

View File

@@ -30,48 +30,29 @@
"hideInBreadcrumb": true,
"children": [
{
"key": "service",
"text": "应用服务",
"i18n": "menu.monitor.service",
"icon": "anticon-cloud",
"children": [
{
"text": "website",
"link": "/monitors?app=website",
"i18n": "monitor.app.website"
},
{
"text": "api",
"link": "/monitors?app=api",
"i18n": "monitor.app.api"
},
{
"text": "ping",
"link": "/monitors?app=ping",
"i18n": "monitor.app.ping"
},
{
"text": "port",
"link": "/monitors?app=port",
"i18n": "monitor.app.port"
},
{
"text": "fullsite",
"link": "/monitors?app=fullsite",
"i18n": "monitor.app.fullsite"
}
]
"icon": "anticon-cloud"
},
{
"key": "db",
"text": "数据库",
"i18n": "menu.monitor.db",
"icon": "anticon-database",
"children": [
{
"text": "Mysql",
"link": "/monitors?app=mysql",
"i18n": "monitor.app.mysql"
}
]
"icon": "anticon-database"
},
{
"key": "os",
"text": "操作系统",
"hide": true,
"i18n": "menu.monitor.os",
"icon": "anticon-windows"
},
{
"key": "custom",
"text": "自定义",
"i18n": "menu.monitor.custom",
"icon": "anticon-skin"
}
]
},

View File

@@ -12,7 +12,8 @@
"service": "应用服务监控",
"db": "数据库监控",
"os": "操作系统监控",
"mid": "中间件监控"
"mid": "中间件监控",
"custom": "自定义监控"
},
"account": {
"": "个人页",