Interface for URL filters.
Given a URL the filter may return a different string to represent that URL. This string will be included in the telemetry events instead of the original.
The URL will be filtered by SDK internal filters before this function is called.
To redact a URL entirely return an empty string.
Example: customUrlFilter: (url) => { if (url.includes('secret')) { return '' } return url; }
Generated using TypeDoc
Interface for URL filters.
Given a URL the filter may return a different string to represent that URL. This string will be included in the telemetry events instead of the original.
The URL will be filtered by SDK internal filters before this function is called.
To redact a URL entirely return an empty string.
Example: customUrlFilter: (url) => { if (url.includes('secret')) { return '' } return url; }