fix: incorrect 5xx rate calculation (#1229)

This commit is contained in:
Srikanth Chekuri 2022-06-14 01:09:44 +05:30 committed by GitHub
parent 7b315c6766
commit 4f12f8c85c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1188,7 +1188,7 @@ func (r *ClickHouseReader) GetServices(ctx context.Context, queryParams *model.G
m4xx := make(map[string]uint64) m4xx := make(map[string]uint64)
for j := range service4xxItems { for j := range service4xxItems {
m5xx[service4xxItems[j].ServiceName] = service4xxItems[j].Num4XX m4xx[service4xxItems[j].ServiceName] = service4xxItems[j].Num4XX
} }
for i := range serviceItems { for i := range serviceItems {