Skip to content

AWS RUM not recording successful HTTP requests

1

Hello everyone, I want to record all HTTP requests, not only the ones that return error. I already tried some code changes into my telemetry settings but it is not working.

['performance', 'errors', ['http', { recordAllRequests: true }]]

and

['performance', { recordAllTypes: ['document', 'script', 'other'] }], 'errors', ['http', { recordAllRequests: true }]

asked 2 years ago223 views

1 Answer
0

Did you try to change the order? Could only expect that the errors at the beginning somehow interfere with the HTTP configuration.

Just a guess - this configuration is definitely working for me:

 const config: AwsRumConfig = {
   telemetries: [[ 'http', { recordAllRequests: true }], 'errors', 'performance' ],
   // [...]
};

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.