Class Metrics

java.lang.Object
reactor.netty.internal.util.Metrics

public class Metrics extends Object
Utility class around instrumentation and metrics with Micrometer.

Note: This utility class is for internal use only. It can be removed at any time.

Since:
1.1.0
Author:
Violeta Georgieva
  • Constructor Details

    • Metrics

      public Metrics()
  • Method Details

    • isMicrometerAvailable

      public static boolean isMicrometerAvailable()
      Check if the current runtime supports metrics, by verifying if Micrometer Core is on the classpath.
      Returns:
      true if the Micrometer Core is available
    • isTracingAvailable

      public static boolean isTracingAvailable()
      Check if the current runtime supports tracing, by verifying if Micrometer Tracing is on the classpath.
      Returns:
      true if the Micrometer Tracing is available