You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But whenever I try that, the sourcemaps publish but don't show in the logs view.
Describe what you expected
I expect to be able to upload sourcemaps that work with multiple domain names.
Steps to reproduce the issue
Build project with sourcemaps
Publish using datadog-ci sourcemaps upload ./dist --minified-path-prefix=/app/ ... where the deployed /app/ directory has the same content as the build output /dist/ directory.
Generate logs
View logs in Datadog
Additional context
node version v20.10.0
"@datadog/datadog-ci": "2.27.0"
"@datadog/browser-logs": "5.7.0"
Command
sourcemaps
The text was updated successfully, but these errors were encountered:
My mistake. I had a mismatch in the service name. Still, it's surprising that the sourcemap linking works with the full domain but a mismatched service name. I'll close this issue.
Bug description
I'm able to publish sourcemaps and have them get picked up for logs if I use the full URL prefix. For example:
datadog-ci sourcemaps upload ./dist --minified-path-prefix=https://qa.example.com/app/ ...
That works for QA, but we use the same build and versions for QA and Production, so I'd like to use the absolute path option like:
datadog-ci sourcemaps upload ./dist --minified-path-prefix=/app/ ...
But whenever I try that, the sourcemaps publish but don't show in the logs view.
Describe what you expected
I expect to be able to upload sourcemaps that work with multiple domain names.
Steps to reproduce the issue
datadog-ci sourcemaps upload ./dist --minified-path-prefix=/app/ ...
where the deployed/app/
directory has the same content as the build output/dist/
directory.Additional context
Command
sourcemaps
The text was updated successfully, but these errors were encountered: