gravitino
gravitino copied to clipboard
[#3152] fix(core): using time sliding window to record timer metrics
What changes were proposed in this pull request?
using time sliding window to record timer metrics
Why are the changes needed?
Fix: #3152
Does this PR introduce any user-facing change?
no
How was this patch tested?
test in local env to check whether Pxx comes to 0 after a while
Time sliding window based metrics is more suitable for our scene, no need to make it configurable.
60s time window seems enough , @jerryshao do you think is it neccessary to make it configurationable ?
I think it would be better to make the time window configurable.
I think it would be better to make the time window configurable.
ok
@jerryshao , please help to review when you are free
@TEOTEO520 can you please help to check if the fix here satisfy your needs?
@jerryshao , @jerqi , please help to review again when you are free