Package reactor.netty.internal.util
Class Metrics
java.lang.Object
reactor.netty.internal.util.Metrics
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Check if the current runtime supports metrics, by verifying if Micrometer Core is on the classpath.static boolean
Check if the current runtime supports tracing, by verifying if Micrometer Tracing is on the classpath.
-
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
-