java.lang.Object
io.opentelemetry.instrumentation.runtimemetrics.java17.internal.DurationUtil

public final class DurationUtil extends Object
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Method Details

    • toMillis

      public static double toMillis(Duration duration)
      Returns the duration as milliseconds, with fractional part included.