-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Apply stateTransformer to Attachments in createSentryPiniaPlugin #14441
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Statement
Feature Request: Apply
stateTransformer
to Attachments increateSentryPiniaPlugin
First, thank you for
createSentryPiniaPlugin
—it's been a lifesaver!Would it be possible to apply the
stateTransformer
not just to the context but also to the attachments? This would greatly reduce the size of the attachments when they contain items that don’t need to be in Sentry. Currently, we're hitting our monthly attachment cap just a few days after starting to usecreateSentryPiniaPlugin
.Solution Brainstorm
Potential Implementation:
This adjustment would make the plugin more efficient by ensuring attachment size is minimized by excluding unnecessary data from the state with
stateTransformer
.Let me know if you’d like me to submit a PR for this change.
Thanks again!
The text was updated successfully, but these errors were encountered: