You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user I would like to be able to filter out from my traces specific requests based on the hostname of the request itself when using captureHTTPsGlobal & captureHTTPs. This way I can avoid sending sensitive data or polluting traces to X-Ray when I instrument my functions.
Example
varAWSXRay=require('aws-xray-sdk');AWSXRay.captureHTTPsGlobal(require('http'));varhttp=require('http');// ignore requests to test.myapp.comAWSXRay.ignore_hostnames('test.myapp.com');// OR ignore requests to test.myapp.com AND other.myapp.comAWSXRay.ignore_hostnames(['test.myapp.com','other.myapp.com']);