-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(remix): Vendor in opentelemetry-instrumentation-remix
#16145
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
base: develop
Are you sure you want to change the base?
Conversation
d736081
to
6c80c8e
Compare
6c80c8e
to
bb95f29
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for vendoring this in!
packages/remix/src/utils/utils.ts
Outdated
if (formDataKeys[key] === false) { | ||
return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
m: This is already covered by the outer if
right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, yes. Updated
/* eslint-disable max-lines */ | ||
/* eslint-disable jsdoc/require-jsdoc */ | ||
|
||
// Vendored and modified from: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
q: Could you briefly describe what was modified in the PR description please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the PR description 👍
Resolves: #15739
Removed Remix v1-related instrumentation code from the original implementation while vendoring in.
Also, FormData entries for manual instrumentation are aligned with OTEL use.
Resolves: [Remix] Only attach keys defined in
captureActionFormDataKeys
#16140