Search code examples
project-reactormicrometerspring-micrometer

Measuring ElasticScheduler with micrometer?


Is there any way to measure how ElasticScheduler utilities it's thread pools? I've went through code but I haven't seen any straightforward option to do it.


Solution

  • You can use method enableMetricson Schedulers class. https://projectreactor.io/docs/core/release/api/reactor/core/scheduler/Schedulers.html#enableMetrics--