Package reactor.util

Class Metrics

java.lang.Object
reactor.util.Metrics

@Deprecated public class Metrics extends Object
Deprecated.
prefer using the new reactor-core-micrometer module Micrometer entrypoint. To be removed in 3.6.0 at the earliest.
Utilities around instrumentation and metrics with Micrometer. Deprecated as of 3.5.0, prefer using the new reactor-core-micrometer module.
Author:
Simon Baslé
  • Constructor Details

    • Metrics

      public Metrics()
      Deprecated.
  • Method Details

    • isInstrumentationAvailable

      @Deprecated public static final boolean isInstrumentationAvailable()
      Deprecated.
      prefer explicit usage of the reactor-core-micrometer module. To be removed in 3.6.0 at the earliest.
      Check if the current runtime supports metrics / instrumentation, by verifying if Micrometer is on the classpath.

      Note that this is regardless of whether the new reactor-core-micrometer module is also on the classpath (which could be the reason Micrometer is on the classpath in the first place).

      Returns:
      true if the Micrometer instrumentation facade is available