Class InstrumentationUtils

java.lang.Object
com.itrsgroup.collection.instr.InstrumentationUtils

public final class InstrumentationUtils extends Object
Instrumentation utils.
  • Method Details

    • isBlank

      public static boolean isBlank(String s)
      Parameters:
      s - string
      Returns:
      whether the string is null or all white space
    • otelToEnv

      public static String otelToEnv(String s)
      Convert otel-style attribute to an env variable, e.g. "some.key" to "SOME_KEY".
      Parameters:
      s - otel-style string
      Returns:
      env-style string