alibaba / alibaba/Sentinel

Proposal: Allow Custom CPU Usage Calculation Window

Open
#3,447 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

Hello, I recently encountered an issue regarding CPU usage calculation. Currently, the CPU calculation cycle window is set to one second. In warm-up scenarios, this can easily trigger CPU usage-based rate limiting (such as during compilation at the C2 stage). Could it be possible to calculate CPU usage separately and allow for setting a custom calculation window? The current one-second window is too sensitive in warm-up scenarios.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.