Class VariableNameUtil


  • public class VariableNameUtil
    extends Object
    Util for dealing with variables names in OTel reporting. Used to remove angel brackets that metric group codes adds to variables.
    • Method Detail

      • getVariableName

        public static String getVariableName​(String str)
        Removes leading and trailing angle brackets. See ScopeFormat::SCOPE_VARIABLE_PREFIX.