Skip to content

Missing instruction how to upload the source map in a EU account #19157

Description

@vcavallonr

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

contentrequests related to docs site contentfrom_internalIdentifies issues/PRs from Relics (except writers)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions