I have a lambda which has xray enabled and it sends http request to API gateway which links to another lambda. I also enabled xray in the API gateway. But it doesn't trace the whole flow because the trace id in the first lambda is not used by API Gateway.
My question is how I can send the trace id over http rest request? I'd like to link from end to end flow.
I am using axios
in nodejs and I don't know how awsXRay.captureHTTPsGlobal
works with this library.