指标增加一些易读的名称等信息

This commit is contained in:
刘祥超
2021-07-03 18:05:55 +08:00
parent f297f4ec52
commit 1c3e25ba1a
16 changed files with 203 additions and 36 deletions

View File

@@ -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
}