Missing instruction how to upload the source map in a EU account #19157
Labels
content
requests related to docs site content
from_internal
Identifies issues/PRs from Relics (except writers)
A customer wanted to to upload the source map using the npm module via command line or client-side script
and installed the command line (https://www.npmjs.com/package/@newrelic/publish-sourcemap)
The documentation doesn't have any instruction how to specify that the account is in EU. So he looked at the source code and found that it can be done using the env variable "SOURCEMAP_UPLOAD_HOST"
i-e.:
export SOURCEMAP_UPLOAD_HOST=https://sourcemaps.service.eu.newrelic.com
publish-sourcemap 5087-a115252f4cbf9b8a.js.map https://www.home24.de/corgi/pageapps/prepurchase/_next/static/chunks/5087-a115252f4cbf9b8a.js --apiKey=NRAK-.... --applicationId=538644253 --repoUrl=https://github.com/Home24/PageApp-PrePurchase --buildCommit=63e0d5382d5a5ab87aaec4ff96e2f325c8b58ae3
list-sourcemaps list-sourcemaps --applicationId=538644253 --apiKey=NRAK-..
So the request is to add instructions how to call the command line to upload the source map into a EU account.
Thanks
The text was updated successfully, but these errors were encountered: