Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in capacity warning logs when assumedAverageRecurringRequired…
…ThroughputPerMinutePerKibana was sufficient (#200578) In this PR, I'm fixing a bug where the task manager unhealthy logs were showing the wrong reason. Because the if condition was checking `assumedAverageRecurringRequiredThroughputPerMinutePerKibana` to be less than `capacityPerMinutePerKibana`, it would log this as the reason task manager is healthy. However whenever the value is less, it means task manager is running fine from a recurring task perspective. Changing the if condition allows the next step in the code to log which then logs `assumedRequiredThroughputPerMinutePerKibana` as the real reason why task manager is unhealthy. --------- Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit 9fa8ec7)
- Loading branch information