From 7217a6f9af32991eeee5d9af57ff0c88c9c02b32 Mon Sep 17 00:00:00 2001 From: innerpeacez Date: Tue, 14 Dec 2021 11:58:29 +0800 Subject: [PATCH] errorRate % --- modules/msp/apm/service/apm.service.service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/msp/apm/service/apm.service.service.go b/modules/msp/apm/service/apm.service.service.go index 1b9f508cd2e..f6c8a7aea17 100644 --- a/modules/msp/apm/service/apm.service.service.go +++ b/modules/msp/apm/service/apm.service.service.go @@ -292,7 +292,7 @@ func (s *apmServiceService) GetServiceAnalyzerOverview(ctx context.Context, req qpsChart.Value = math.DecimalPlacesWithDigitsNumber(row.Values[1].GetNumberValue(), 2) durationChart.Value = math.DecimalPlacesWithDigitsNumber(row.Values[2].GetNumberValue(), 2) - errorRateChart.Value = math.DecimalPlacesWithDigitsNumber(row.Values[3].GetNumberValue(), 2) * 100 + errorRateChart.Value = math.DecimalPlacesWithDigitsNumber(row.Values[3].GetNumberValue()*100, 2) qpsCharts = append(qpsCharts, qpsChart) durationCharts = append(durationCharts, durationChart)