实现基础的统计指标

This commit is contained in:
刘祥超
2021-06-30 19:59:59 +08:00
parent 9a915a48b5
commit a7aed3d49e
39 changed files with 258 additions and 66 deletions

View File

@@ -26,7 +26,10 @@ func (this *IndexAction) RunGet(params struct {
}
this.Data["category"] = params.Category
itemsResp, err := this.RPC().NodeClusterMetricItemRPC().FindAllNodeClusterMetricItems(this.AdminContext(), &pb.FindAllNodeClusterMetricItemsRequest{NodeClusterId: params.ClusterId})
itemsResp, err := this.RPC().NodeClusterMetricItemRPC().FindAllNodeClusterMetricItems(this.AdminContext(), &pb.FindAllNodeClusterMetricItemsRequest{
NodeClusterId: params.ClusterId,
Category: params.Category,
})
if err != nil {
this.ErrorPage(err)
return