mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-10 17:30:29 +08:00
指标增加一些易读的名称等信息
This commit is contained in:
@@ -32,7 +32,7 @@ func InitChart(parent *actionutils.ParentAction, chartId int64) (*pb.MetricChart
|
||||
"widthDiv": chart.WidthDiv,
|
||||
"maxItems": chart.MaxItems,
|
||||
"type": chart.Type,
|
||||
"typeName": serverconfigs.FindAllMetricChartTypeName(chart.Type),
|
||||
"typeName": serverconfigs.FindMetricChartTypeName(chart.Type),
|
||||
}
|
||||
return chart, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user