Explorar el Código

更新 数据时效分位数统计

wcc hace 1 año
padre
commit
cebf01ffe7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      data_indicators/main.go

+ 1 - 1
data_indicators/main.go

@@ -633,7 +633,7 @@ func getTimeLines() {
 	quantileData := make(map[string]interface{})
 	//统计时效分位数
 	for k, v := range quantileMap {
-		quantileData[k] = fmt.Sprintf("%.2f", float64(v)/float64(quantileTotal))
+		quantileData[k] = fmt.Sprintf("%.2f%%", float64(v)/float64(quantileTotal)*100.0)
 	}
 	dataTime["数据时效分位数统计"] = quantileData
 	dataCollection["数据采集日索引量"] = esCount //数据采集指标-数据采集日索引量