my current apm configuration is as follows:
config.apm = {
serviceName: 'MyService',
secretToken: '',
serverUrl: 'localhost:5601',
captureBody: 'all',
instrument: 'true',
errorOnAbortedRequests: 'true'
};
var apm = require('elastic-apm-node').start({
serviceName: config.apm.serviceName,
secretToken: config.apm.secretToken,
serverUrl: config.apm.serverUrl,
captureBody: config.apm.captureBody,
});
the http request body is captured correctly. I would like to know if there is an existing way to capture the response too.