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

Fix OpenTelemetry CJS preloads #9859

Merged
merged 4 commits into from
May 16, 2024
Merged

Fix OpenTelemetry CJS preloads #9859

merged 4 commits into from
May 16, 2024

Conversation

nwalters512
Copy link
Contributor

I neglected to do this during the ESM transition, which means that we currently have incomplete instrumentation for monkey-patched modules. This was failing to work because require() isn't defined in ESM modules. I made the error handling more precise to ensure that any similar errors will fail loudly in the future.

Copy link
Contributor

github-actions bot commented May 15, 2024

All images

Image Platform Old Size New Size Change
prairielearn/executor:bb60266c17efe19773faccd972bdd05bdc8546b8 null 1648.46 MB 1648.26 MB -0.01%
prairielearn/prairielearn:bb60266c17efe19773faccd972bdd05bdc8546b8 linux/amd64 1648.26 MB 1648.26 MB -0.00%

@nwalters512 nwalters512 self-assigned this May 15, 2024
@nwalters512 nwalters512 added this pull request to the merge queue May 16, 2024
Merged via the queue into master with commit b697912 May 16, 2024
7 checks passed
@nwalters512 nwalters512 deleted the fix-otel-cjs-preloads branch May 16, 2024 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants