I'm looking for a method to trace axios http requests in my node.js based aws lambda function. I've found a method to trace HTTP request on aws official docs https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-nodejs-httpclients.html
var AWSXRay = require('aws-xray-sdk');
var http = AWSXRay.captureHTTPs(require('http'));
But I didn't found any doc or blog regarding axios request tracing. I've tried this code as well, but it's not working.
import AWSXRay from 'aws-xray-sdk';
AWSXRay.captureHTTPsGlobal("../../common/http/HttpClient");
import { HttpClient } from "../../common/http/HttpClient";
I need help in this regards. Thanks!