-
Notifications
You must be signed in to change notification settings - Fork 23.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add stat_fork_rate in stat information #4711
Conversation
What do you think about it? @oranagra |
Truth be told, I never understood the purpose of this stat, the variable, its use in the LATENCY DOCTOR. |
Ohh, i now notice this PR is trying to add a stat, not remove it. looking closer, this variable seems to measure the time it takes the |
@oranagra yes. the PR is to add the stat instead of to remove it. Redis has the variable and can monitor it so I suggest to add the stat similar with other ones with little effort and risk. After all, all variables except this one had/can be monitored except this one so I use "lose" word instead of "add" in this PR. BTW: I update the title to avoid confusing us. thanks |
I don't see any value in that Stat, in order to add it, it needs to have a much better descriptive name, current name is very bad (which is ok for an internal variable that can be renamed anytime, but not for an API that needs to be steady). The fact that other stats variables are exposed is not a reason to add it. |
got it. thank for your comments. "see for how long the fork freezes", what's the monitor item? |
@antirez Thanks for your review