We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
correlationHeaderExcludePatterns
Description/Screenshot
The value of correlationHeaderExcludePatterns in Snippet is not honored by the SDK.
Snippet
It appears that the getDefaultConfig() in AjaxMonitor doesn't include an empty value for correlationHeaderExcludePatterns. This causes the configuration loading to never see the configuration.
getDefaultConfig()
AjaxMonitor
Steps to Reproduce
[/.*/]
config: { instrumentationKey, extensions: [reactPlugin], extensionConfig: { [reactPlugin.identifier]: { history } }, disableFetchTracking: false, enableCorsCorrelation: true, disableAjaxTracking: false, enableRequestHeaderTracking: true, enableResponseHeaderTracking: true, correlationHeaderExcludedDomains: [`...`], correlationHeaderExcludePatterns: [new RegExp('...')], distributedTracingMode: DistributedTracingModes.AI }
Expected behavior Correlation headers should not be sent when the URI matches the exclude pattern
The text was updated successfully, but these errors were encountered:
I think this is related to #1524
Sorry, something went wrong.
I just upgraded to the current version and it correlationHeaderExcludePatterns appears to be working correctly.
v2.6.2 is now fully deployed
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
xiao-lix
No branches or pull requests
Description/Screenshot
The value of
correlationHeaderExcludePatterns
inSnippet
is not honored by the SDK.It appears that the
getDefaultConfig()
inAjaxMonitor
doesn't include an empty value forcorrelationHeaderExcludePatterns
. This causes the configuration loading to never see the configuration.Steps to Reproduce
correlationHeaderExcludePatterns
to[/.*/]
This should cause no correlation headers to be sent at all
Expected behavior
Correlation headers should not be sent when the URI matches the exclude pattern
The text was updated successfully, but these errors were encountered: