Skip to content

Commit

Permalink
add all intervals with 500s to the count
Browse files Browse the repository at this point in the history
  • Loading branch information
deads2k committed Jan 30, 2025
1 parent 953f818 commit 34aaab5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ func (w *auditLogAnalyzer) CollectData(ctx context.Context, storageDir string, b
}
if startOfCurrentProblems < 0 {
startOfCurrentProblems = i
outageTotalNumberOf500s += currentNumberOf500s
outageTotalRequests += currSecondRequests.NumberOfRequestsReceived
}
outageTotalNumberOf500s += currentNumberOf500s
outageTotalRequests += currSecondRequests.NumberOfRequestsReceived
}
}

Expand Down

0 comments on commit 34aaab5

Please sign in to comment.