Skip to content

Commit

Permalink
errorRate %
Browse files Browse the repository at this point in the history
  • Loading branch information
innerpeacez committed Dec 14, 2021
1 parent c3fd850 commit 7217a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/msp/apm/service/apm.service.service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7217a6f

Please sign in to comment.