Hello! This sounds like a correct approach.
Regards, -- Ilya Kasnacheev чт, 14 янв. 2021 г. в 15:07, facundo.maldonado <maldonadofacu...@gmail.com>: > As far as I know it's not possible to call statically a non-factory > method, a > void method like PrometheusStatsCollector.createAndRegister(). > > I resolved that creating another bean wrapping the collector and http > server > creation. > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >