java.lang.Object
io.opentelemetry.instrumentation.spring.autoconfigure.internal.instrumentation.runtimemetrics.Java17RuntimeMetricsAutoConfiguration

@ConditionalOnJava(range=EQUAL_OR_NEWER, value=SEVENTEEN) @Configuration public class Java17RuntimeMetricsAutoConfiguration extends Object
Configures runtime metrics collection for Java 17+.

This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

  • Constructor Details

    • Java17RuntimeMetricsAutoConfiguration

      public Java17RuntimeMetricsAutoConfiguration()
  • Method Details

    • stopMetrics

      @PreDestroy public void stopMetrics() throws Exception
      Throws:
      Exception
    • handleApplicationReadyEvent

      @EventListener public void handleApplicationReadyEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)