-
Notifications
You must be signed in to change notification settings - Fork 41k
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
Provide a configuration property for setting the path used by auto-configured disk space metrics #27306
Comments
QUESTION: Somewhat unrelated, but I have been curious about this before. Are ASSUMPTION: I am assuming a breaking change is ok as this is going into 2.6. THOUGHTSSo this is interesting as the thought of sharing the same property would be the first bridge of a metric and a health indicator properties that I am aware of. This is the typical layout of the properties if they are not shared:
I also took a read through the request to support multiple paths for the disk space health check and that would also complicate a sharing of properties as it requires additional settings for
I am thinking that it may be better to keep these separated. I would think the number of paths configured would be pretty small and therefore having to configure them twice is probably not that much of a pain. Do we have any metrics or idea on how heavily these 2 features are used? |
No, I don't think they are. IMO, they're system metrics similar to |
We discussed this today and came to the conclusion that we'd like to get rid of the disk space health indicator. With hindsight, the available disk space should really have been exposed as a metric with the threshold configured in the monitoring system to alert when the disk space gets too low. In the fullness of time, #21311 will also make it possible to include diskspace in a service-level objective that's mapping to a health indicator. Given the above, we think the best course of action here is to provide a metrics-specific property for the disk space paths and for it to support multiple paths. We'll leave the disk space health side of things unchanged with a view to it being removed in 3.0. |
Closing in favor of PR #27660 |
The path for disk space metrics is hardcoded as
.
but we allow the path for the disk space health indicator to be auto-configured. I think the path for the metrics should be equally configurable. I wonder if it might be possible to use the same property for both as I suspect it's unlikely that you'd want the two to be different.When looking at this, we should keep the request to support multiple paths for the disk space health check in mind. I suspect that the requirement to have a health check for multiple paths would apply equally to metrics.
The text was updated successfully, but these errors were encountered: