aws-observability / aws-rum-web

Amazon CloudWatch RUM Web Client
Apache License 2.0
114 stars 65 forks source link

[Feature Request]: create a separate AwsRum orchestrator to use with proxy #507

Open madmed88 opened 4 months ago

madmed88 commented 4 months ago

Please provide your feature request

When using RUM client with a proxy endpoint (no identityPoolId, no guestRoleArn, signing: false), the client size can be optimized by getting rid of the Auth code and dependencies. I did some testing here https://github.com/aws-observability/aws-rum-web/commit/f5a8437b63a8c871ac4deca28bc5262394638648 and found that this reduces the bundle size by more than half. This can have a significant impact on load times.

williazz commented 4 months ago

closes https://github.com/aws-observability/aws-rum-web/issues/305#issuecomment-1335540896