adobe / helix-rum-collector

Collect RUM data with Fastly Compute@Edge
Apache License 2.0
3 stars 7 forks source link

Automatically switch between backend package registries #322

Closed bosschaert closed 4 months ago

bosschaert commented 4 months ago

The initial package registry used is picked at random between unpkg and jsdelivr. If this one causes issues, a retry will be done with the other package registry.

You can force the initial package registry by adding ?pkgreg=unpkg or ?pkgreg=jsdelivr at the end of the request URL, e.g. https://<hostname>/.rum/web-vitals?pkgreg=unpkg. However if this first one fails, a retry will still be done with the other registry.

Fixes: #321

Note that this PR and the jsdelivr-2 branch are built on top of the https://github.com/adobe/helix-rum-collector/tree/jsdelivr branch

github-actions[bot] commented 4 months ago

This PR will trigger no release when merged.

bosschaert commented 4 months ago

Hi @trieloff I think I addressed your concerns. Let me know if you have any more thoughts.

trieloff commented 4 months ago

:tada: This PR is included in version 2.20.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: