java.lang.Object
io.opentelemetry.instrumentation.runtimetelemetry.internal.Threads

public class Threads extends Object
Registers measurements that generate metrics about JVM threads. The metrics generated by this class follow the stable JVM metrics semantic conventions.

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

  • Constructor Details

    • Threads

      protected Threads()
  • Method Details

    • registerObservers

      public static List<AutoCloseable> registerObservers(io.opentelemetry.api.metrics.Meter meter)
      Register observers for java runtime class metrics.
    • getThreads

      public static Thread[] getThreads()