java.lang.Object
io.opentelemetry.instrumentation.api.semconv.url.internal.UrlSanitizer

public class UrlSanitizer 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

    • sanitizeUrl

      @Nullable public static String sanitizeUrl(@Nullable String url, Set<String> sensitiveQueryParameters)
      Removes the credentials that the semantic conventions require to be absent from url.full: the userinfo component of the authority, and the values of any query parameter named in sensitiveQueryParameters.