AWS RUM is not showing HTTP requests other than scripts
I have added AWS RUM to an Angular app by using TS snippet. In the config I'm using this telemetry config telemetries: [ "performance", "errors", [ 'http', { recordAllRequests: true } ] ],
I can see in my app dev tools network tab that request are being sent with http_events type: "com.amazon.rum.http_event" with details containing http method type call etc..
The problem is in AWS console in RUM module Requests tab I see only requests for scripts, css files. Is there any extra config needed to see GET/POST requests in aws console?
Hello, and thanks for reaching out!
When configuring the telemetries parameters in the config and specifying non-default options, you'll want to be sure to specify each telemetry as its own array, as seen in the examples here.
Try specifying the telemetries as the following and let me know if you see any changes in behavior:
telemetries: ["performance","errors",["http",{recordAllRequests: true}]],
I have forked the RUM client. Quick fix for our specific use case, but it tracks ALL API calls (including after initial page load and ignoring max events configuration) as performance metrics.
You will have to force the OTHER type in all recorded types rather than sampled
telemetries: [
[ "performance", {recordAllTypes: ['document', 'script', 'other']} ],
"errors",
"http"
],
https://github.com/samholton/aws-rum-web/releases/tag/v1.5.1-api-patch
Relevant questions
Config: AWS maintained required tags rule parameter limit increase
asked 2 months agophp 7.4 sdk - is_readable(): open_basedir .aws/config
asked 6 months agoAWS RUM - Page Views Report
asked 5 days agoAWS Config : Accessing AWS Config NonComplaint rules and resources
Accepted Answerasked 4 months agoAWS config with Athena - Issue
asked 4 months agoAWS RUM is not showing HTTP requests other than scripts
asked a month agoAWS Config - OrganizationConformancePack fails with NoAvailableConfigurationRecorderException
Accepted Answerasked 5 days agoCloudWatch RUM (Real User Monitoring) not logging XHR API requests with React
asked a month agoAWS Config Resource Not Found Viewing Details
asked 2 years agoConfig Advanved Query Editor - Return ConfigRuleName
asked 2 months ago
I am experiencing the same thing with a React APP. Not seeing any of the
com.amazon.rum.http_event
on the console for API calls being made. I have