-
Notifications
You must be signed in to change notification settings - Fork 67
Allow to opt out certain domains from setting the correlation header #198
Comments
Also need a way to disable both - setting the headers on response and setting them on outgoing http connections. |
Investigate this: microsoft/ApplicationInsights-node.js#143 for .NET |
The 2.3 beta 1 sdk release includes cross component correlation. The feature works as follows: Dependency Module
Web Module
Going with the current philosophy of application insights config. Here is a proposed sample. Note above that each module (ExceptionTracking, DependencyTracking and ExceptionTracking) has it's own enable / disable setting, where as, the DependencyTracking module has the domain exclusion list, which can be used to override header behavior on specific domains (read hosts, see limitation below). Alternative approach The above implies - when CollectionEnabled is false, it will disable the feature across both modules (i.e., it will stop sending and processing headers). As for the excluded domains list, that would apply to outgoing requests being made (the user doesn't have to be explicitly aware). Limitations of planned implementation |
should we also have a exclusion list on web / exceptions module that avoids sending response headers? |
I like the first config more. Why do you need correlation on Exception module? Exception module doesn't generate requests so nothing to correlate. And you do not need to have exclusion list on web module. BTW, you can insert listings into GitHub as text like this: <xml>
<text>This text is searchable now<text>
</xml> |
you are right - no need for exceptions. For a moment I mixed exceptions and failed requests there. |
Is it implied that "bbc.com" -> "*.bbc.com", or do we need explicit wildcards? With the first proposal if we want to exclude these domains from incoming and outgoing requests, there should be a duplicated section but with the web module name, correct? |
Not implied and wild cards won't work for now. So if you wanted www.bbc.com and www.sports.bbc.com to both be blocked, you will need to list both. |
@nizarq, @jasongin have you had a chance to look at microsoft/ApplicationInsights-node.js#143? Will we need to disable azure storage domains by default? Will disabling by "contains" work here and no disable too much/too little? |
Discussed during planning. For 2.3 Beta1 the minimum requirement is to have a flag that disables cross-component correlation, and the list of domains we can add later. |
The configuration we ended up with is as follows:
For RequestTrackingModule
|
Correlation headers should not be set for the list of domains that customer can control.
The text was updated successfully, but these errors were encountered: