-
Bug
-
Resolution: Done
-
Blocker
-
None
Deployment of application (quickstart/helloworld-rs) triggers CDI warning for io.smallrye.metrics stuff
13:42:42,723 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-2) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class io.smallrye.metrics.MetricProducer is deprecated from CDI 1.1! 13:42:42,734 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-2) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class io.smallrye.metrics.interceptors.MetricNameFactory is deprecated from CDI 1.1! 13:42:42,736 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-2) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class io.smallrye.metrics.interceptors.MetricsInterceptor is deprecated from CDI 1.1! 13:42:42,741 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-2) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class io.smallrye.metrics.MetricRegistries is deprecated from CDI 1.1! 13:42:42,744 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-2) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class io.smallrye.metrics.interceptors.MeteredInterceptor is deprecated from CDI 1.1! 13:42:42,750 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-2) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class io.smallrye.metrics.interceptors.CountedInterceptor is deprecated from CDI 1.1! 13:42:42,753 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-2) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class io.smallrye.metrics.interceptors.TimedInterceptor is deprecated from CDI 1.1! 13:42:42,756 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-2) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class io.smallrye.metrics.MetricsRequestHandler is deprecated from CDI 1.1!
These WARN messages must go away by using proper api. Some EAP customers are doing log auditing and analysis for each entry which is INFO+.