Things like MP Metrics are added to the app's JAX-RS space in order to piggback on the scaffolding done there, but then it limits the options for what a developer can name their services. It may make sense to instead create separate servlets in the NSF for these.
It's also worth considering registering these as Equinox servlets instead of adding them to the ComponentModule. This would require a new type of work, but would allow this project to be MicroProfile-spec-compliant, which requires these endpoints to be available at the root.
Things like MP Metrics are added to the app's JAX-RS space in order to piggback on the scaffolding done there, but then it limits the options for what a developer can name their services. It may make sense to instead create separate servlets in the NSF for these.
It's also worth considering registering these as Equinox servlets instead of adding them to the ComponentModule. This would require a new type of work, but would allow this project to be MicroProfile-spec-compliant, which requires these endpoints to be available at the root.