Package reactor.util
Class Metrics
java.lang.Object
reactor.util.Metrics
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é
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.Prefer using the reactor-core-micrometer module and configuring it using the Micrometer entrypoint. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final booleanDeprecated.prefer explicit usage of the reactor-core-micrometer module.
-
Constructor Details
-
Metrics
public Metrics()Deprecated.
-
-
Method Details
-
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
-