-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Do not log the number of workers all the time #834
Comments
The statsd integration via the logging system is really convenient. I wonder if it has any need to respect log level at all, though. After all, it's designed to be really cheap to send metrics and not every log call generates metrics. So maybe we can just ensure that metrics are sent even if the log level is disabled (assuming |
i concur with @tilgovi can't we log only when the number changes? It can be moved at the end of the spawn_workers function or in the if case after the execution of the function. Thoughts? |
Statsd works better if it is feed gauges regularly. I will remove the I may also generate a spawn rate metric in spawn workers to catch cases Either way I will submit a PR over the weekend to clean up the log rapidly.
|
To support statsD instrumentation,
manage_workers
logs the number of workers, which is unsightly in logs.While the call will remain to have smoother statsd data, no log line will be generated.
The text was updated successfully, but these errors were encountered: