rdb资源数量统计接口增加容器和交换机 (#383)

* rdb 资源cate分类统计接口

* 代码调节

* rdb:rabbitmq资源操作名称统一

* rdb控制台资源统计增加交换机,弹性云服务器

Co-authored-by: alickliming <alickliming@didi.global.com>
This commit is contained in:
alick-liming 2020-11-06 10:16:05 +08:00 committed by GitHub
parent f9b3db4058
commit 2e8a8966d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ type nodeResourcesCountResp struct {
}
func renderNodeResourcesCountByCate(c *gin.Context) {
needSourceList := []string{"physical", "virtual", "redis", "mongo", "mysql"}
needSourceList := []string{"physical", "virtual", "redis", "mongo", "mysql", "container", "sw"}
nodeId := urlParamInt64(c, "id")
node := Node(nodeId)