-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] pillar/watcher: Add goroutine leak detection.
Introduce goroutine leak detection functionality that monitors the number of goroutines over a 24-hour period to identify potential leaks. The detection algorithm employs a moving average smoothing technique and linear regression to analyze trends. If an upward trend is statistically significant, it flags the anomaly. This approach helps identify subtle issues in goroutine management, leveraging a t-statistic for confidence testing. Signed-off-by: Nikolay Martyanov <nikolay@zededa.com>
- Loading branch information
1 parent
a3fbdd9
commit f9cd1d6
Showing
1 changed file
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters