Last active
September 2, 2022 19:04
-
-
Save bradyclifford/ad6d106ec14fc9440c5e7663183c1b06 to your computer and use it in GitHub Desktop.
AppInsights: Exclude URL by path base route
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Only capture requests for a specific path based-route | |
excludeRequestFromAutoTrackingPatterns: [ | |
new RegExp( | |
`^https?:\\/\\/([^\\/\\s]+\\/)(?!${escapeRegExp(removeSlashes(pathBase))}).+$`, | |
'i' | |
) | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For FullStory, you would just add https://rs.fullstory.com.