Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vcavallonr opened this issue Nov 1, 2024 · 2 comments
Open

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

vcavallonr opened this issue Nov 1, 2024 · 2 comments
Assignees
Labels
content requests related to docs site content from_internal Identifies issues/PRs from Relics (except writers)

Comments

@vcavallonr
Copy link

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

@vcavallonr vcavallonr added the content requests related to docs site content label Nov 1, 2024
Copy link

github-actions bot commented Nov 1, 2024

Hi @vcavallonr 👋

Thank you for filing an issue! We'll triage your issue and let you know if we have questions, and then route it to the appropriate team so we can get it solved.

@vcavallonr vcavallonr changed the title Missing instruction hot to upload the source map in a EU account Missing instruction how to upload the source map in a EU account Nov 1, 2024
@rhetoric101 rhetoric101 self-assigned this Nov 12, 2024
@rhetoric101 rhetoric101 added the from_internal Identifies issues/PRs from Relics (except writers) label Nov 12, 2024
@rhetoric101
Copy link
Contributor

@vcavallonr thanks for creating this GitHub issue. I created a Jira work request to the browser team, asking them to document the command line or client-side script approach to source maps for both EU and non-EU customers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content requests related to docs site content from_internal Identifies issues/PRs from Relics (except writers)
Projects
None yet
Development

No branches or pull requests

2 participants