Package reactor.util

Class Metrics.MicrometerConfiguration

java.lang.Object
reactor.util.Metrics.MicrometerConfiguration
Enclosing class:
Metrics

@Deprecated public static class Metrics.MicrometerConfiguration extends Object
Deprecated.
Prefer using the reactor-core-micrometer module and configuring it using the Micrometer entrypoint.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.micrometer.core.instrument.MeterRegistry
    Deprecated.
    prefer using Micrometer setup in new reactor-core-micrometer module.
    static io.micrometer.core.instrument.MeterRegistry
    useRegistry(io.micrometer.core.instrument.MeterRegistry registry)
    Deprecated.
    prefer using Micrometer setup in new reactor-core-micrometer module.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MicrometerConfiguration

      public MicrometerConfiguration()
      Deprecated.
  • Method Details

    • useRegistry

      @Deprecated public static io.micrometer.core.instrument.MeterRegistry useRegistry(io.micrometer.core.instrument.MeterRegistry registry)
      Deprecated.
      prefer using Micrometer setup in new reactor-core-micrometer module. To be removed at the earliest in 3.6.0.
      Set the registry to use in reactor for metrics related purposes.

      This is only used by the deprecated inline Micrometer instrumentation, and not by the reactor-core-micrometer module.

      Returns:
      the previously configured registry.
    • getRegistry

      @Deprecated public static io.micrometer.core.instrument.MeterRegistry getRegistry()
      Deprecated.
      prefer using Micrometer setup in new reactor-core-micrometer module. To be removed at the earliest in 3.6.0.
      Get the registry used in reactor for metrics related purposes.

      This is only reflecting the deprecated inline Micrometer instrumentation configuration, and not the configuration of the reactor-core-micrometer module.

      Returns:
      the configured registry
      See Also: