-
Notifications
You must be signed in to change notification settings - Fork 1.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
Enable smp_message_queue metrics
by default
#2507
base: master
Are you sure you want to change the base?
Conversation
These metrics were originally disabled for overloading the collectd servers many years back. However, these days they seem like a drop in the bucket relative to number of metrics seastar generates. Beyond this they would be useful to have when debugging issues related to cross-shard traffic.
@ballard26 hi Brandon, i think your PR actually fixes #2375 which could be controversial. because, @amnonh thinks that
IIUC, by "quadratic", it means we have n x n metrics if the seastar is configured with n cores. guess that's why they were disabled. but i think, despite that they are always disabled, these metrics are still added to the metric subsystem, even they are not added to the metrics map and are not exposed. does it make sense to add a member to |
I vote against such a configuration. We already have enough options to control metrics from API and files |
@amnonh hi Amnon, do you mean that we are able to utilize these options to enable a given disabled metric ? |
@tchaikov yes, you can use the file or the API to to enable them, for example, I've run two nodes (docker) cluster,
Using the browser:
If you have access to the API, you can do the same in runtime using the |
Yeah, knowing this now its understandable why these metrics are not enabled by default. Most of the time we're only ever interested in knowing the total ingress and egress of cross shard calls by shard rather than by queue. This would be a linear rather than quadratic metric relative to the number of shards and therefore something that may be more palatable to have enabled by default. Is there any interest from you folks for having metrics like that enabled by default in seastar? If not, I believe we could achieve a similar result in our application by using |
thank you very much Amnon, didn't know that we could enable metrics at runtime. |
These metrics were originally disabled for overloading the collectd servers many years back. However, these days they seem like a drop in the bucket relative to number of metrics seastar generates. Beyond this they would be useful to have when debugging issues related to cross-shard traffic.