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

usage reporting/inline trace plugins: mask errors, change option name #6794

Merged
merged 1 commit into from
Aug 10, 2022

Conversation

glasser
Copy link
Member

@glasser glasser commented Aug 10, 2022

We replace the rewriteError option with sendErrorsInTraces (usage
reporting) and includeErrors (inline trace), which takes {unmodified: true}, {masked:true}, and {transform} variants. This is similar to
sendVariableValues and sendHeaders.

Like those two options, this now defaults to a more redacted version:
{masked: true}. This will reduce unintentional reporting of PII.

Part of #6051.

Paired with @bonnici.

We replace the `rewriteError` option with `sendErrorsInTraces` (usage
reporting) and `includeErrors` (inline trace), which takes `{unmodified:
true}`, `{masked:true}`, and `{transform}` variants. This is similar to
`sendVariableValues` and `sendHeaders`.

Like those two options, this now defaults to a more redacted version:
`{masked: true}`. This will reduce unintentional reporting of PII.

Part of #6051.

Paired with @bonnici.
@changeset-bot
Copy link

changeset-bot bot commented Aug 10, 2022

🦋 Changeset detected

Latest commit: 6268bab

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@apollo/server-integration-testsuite Patch
@apollo/server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Aug 10, 2022

Deploy Preview for apollo-server-docs ready!

Name Link
🔨 Latest commit 6268bab
🔍 Latest deploy log https://app.netlify.com/sites/apollo-server-docs/deploys/62f43440fcb19100088ed8f5
😎 Deploy Preview https://deploy-preview-6794--apollo-server-docs.netlify.app/migration
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 6268bab:

Sandbox Source
Apollo Server Typescript Configuration
Apollo Server Configuration

@glasser glasser merged commit 7445d33 into version-4 Aug 10, 2022
@glasser glasser deleted the glasser/senderrorsintraces branch August 10, 2022 23:17
@github-actions github-actions bot mentioned this pull request Oct 10, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant