With the modularization of Boot 4.0 it's now possible to use metrics without the actuator. We should take a look at our supported metrics dependencies and remove the actuator when it's not needed.
Prometheus for example is one where the actuator is needed, as we have the prometheus endpoint which exposes the metrics over http.