-
Notifications
You must be signed in to change notification settings - Fork 2.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
Allow disabling health extension with configuration #42361
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my comment inline.
* Activate or disable this extension. Disabling this extension means that no health related information is exposed. | ||
*/ | ||
@ConfigItem(name = "active", defaultValue = "true") | ||
public boolean active; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you disable the extension entirely, please use enabled
, not active
.
Also don't define a name
, the convention will make it right.
See this issue for the overall context: #42244
d7a842c
to
71f02d7
Compare
@gsmet fixed. I also aligned that it will always produce the feature so it will be displayed on startup to align with hibernate. |
Status for workflow
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thanks.
I will merge it as soon as CI is green as I need to make changes in this class.
Fixes #42356