-
Notifications
You must be signed in to change notification settings - Fork 62
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
Configure the MetricsFeature through application.properties
#1108
Comments
application.properties
application.properties
application.properties
The change is underway in #1161 |
Sounds great. Thanks for the change! |
Currently to enable metrics for quarkus-cxf it is required to use the specific feature module
quarkus-cxf-rt-features-metrics
and configure reference a framework class for each client or endpoint that wants to enable it.quarkus.cxf.client.MYCLIENT.features=io.quarkiverse.cxf.metrics.QuarkusCxfMetricsFeature
Other libraries (Hibernate, Log, Scheduler, GraphQL, etc...) typically have a boolean parameter like
quarkus.EXTENSION.metrics.enabled
Would be great to have a similar parameter for quarkus-cxf. This would reduce repetitive boilerplate in the application.properties and make it very straightforward to add. Similar treatment to what was done for logging recently in #1102
Could be global as
quarkus.cxf.metrics.enabled
Or separated for client and endpoint
quarkus.cxf.client.metrics.enabled
andquarkus.cxf.endpoint.metrics.enabled
if needed.The text was updated successfully, but these errors were encountered: