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/