Projects with smallrye-metric transform non-scoped beans (with metric annotations) into scoped ones. Quarkus extension adds Dependent annotation to them (see code)
If user wants to switch from smallrye-metrics to micrometer, all similar beans have to be manually defined as scoped.
Implementation ideas
It would be nice, if micrometer could do similar transformation as smallrye-metric (code). This could help users with switching between micrprofile and micrometer.
Description
Projects with
smallrye-metric
transform non-scoped beans (with metric annotations) into scoped ones. Quarkus extension addsDependent
annotation to them (see code)If user wants to switch from smallrye-metrics to micrometer, all similar beans have to be manually defined as scoped.
Implementation ideas
It would be nice, if micrometer could do similar transformation as smallrye-metric (code). This could help users with switching between micrprofile and micrometer.