Class UrlSanitizer
java.lang.Object
io.opentelemetry.instrumentation.api.semconv.url.internal.UrlSanitizer
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringsanitizeUrl(String url, Set<String> sensitiveQueryParameters) Removes the credentials that the semantic conventions require to be absent fromurl.full: theuserinfocomponent of the authority, and the values of any query parameter named insensitiveQueryParameters.
-
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 fromurl.full: theuserinfocomponent of the authority, and the values of any query parameter named insensitiveQueryParameters.
-