tianyk commented on pull request #45:
URL: 
https://github.com/apache/skywalking-client-js/pull/45#issuecomment-791310681


   > I am wondering the case, when do we use this? Such as which domain should 
we exclude. Usually this agent is being globally set by an app, then why some 
of them(especially domain name, rather than URI) should not be traced?
   
   Suppose we want to under the domain name `https://example.com`, now we are 
going to visit an interface under `https://openapi.example.cn` server.
   
   ```
   Access-Control-Allow-Headers: ws8
   ```
   
   Now you have a cross-domain situation that requires the `openapi.example.cn` 
server to add a response header. If, `openapi.example.cn` is out of our 
control(third party services). We can't add this response header. If you do not 
add it, the cross - domain will fail.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to