Top Description Fields Constructors Methods
reactor.netty.internal.util

public Class Metrics

extends Object
Class Inheritance

Utility class around instrumentation and metrics with Micrometer.

Note

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

Author
Violeta Georgieva
Since
1.1.0

Field Summary

Modifier and TypeField and Description
pack-priv static final boolean
pack-priv static final boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean

Returns:

true if the Micrometer Core is available
isMicrometerAvailable
()

Check if the current runtime supports metrics, by verifying if Micrometer Core is on the classpath.

public static boolean

Returns:

true if the Micrometer Tracing is available
isTracingAvailable
()

Check if the current runtime supports tracing, by verifying if Micrometer Tracing is on the classpath.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

isMicrometerAvailableback to summary
pack-priv static final boolean isMicrometerAvailable
isTracingAvailableback to summary
pack-priv static final boolean isTracingAvailable

Constructor Detail

Metricsback to summary
public Metrics()

Method Detail

isMicrometerAvailableback to summary
public static boolean isMicrometerAvailable()

Check if the current runtime supports metrics, by verifying if Micrometer Core is on the classpath.

Returns:boolean

true if the Micrometer Core is available

isTracingAvailableback to summary
public static boolean isTracingAvailable()

Check if the current runtime supports tracing, by verifying if Micrometer Tracing is on the classpath.

Returns:boolean

true if the Micrometer Tracing is available