Closed eriskooo closed 3 years ago
ah, so class containing @Gauge annotation must be initiated. However kumuluz is missing Startup from EJB -> is there any other option plz ?
public void postConstruct(@Observes @Initialized(ApplicationScoped.class) Object o) {
// CDI Ready
}
Hello,
I am struggling with https://github.com/kumuluz/kumuluzee-metrics ... Is there some working example, where will be scanned class with annotation @Gauge ? ... do I need to somehow register this variable and then as well use with annotation ?
many thankx for any help