-
Notifications
You must be signed in to change notification settings - Fork 34
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
Specify level for sentry enrichments #289
Comments
After using this for a while, i found the use of Setting I do like the conditional includes for breadcrumbs. Data volume and size do play a role here, it makes sense to surface as much as possible when errors happen and just have minimal info in other cases. My proposal to go ahead would be to:
|
Thanks for both of your efforts in improving this package. With regards to I think updating the options with an |
I think I'm asking for the same thing in issue #301 as this issue is asking for, right? |
I would like to scope certain sentry enrichments to only appear on error. It would be useful for
includeFetchResult
,includeError
,includeVariables
,setTransaction
,setFingerprint
, etc to be included when there is an error from a query.includeQuery
is useful for all sentry issues in my case.Possible solution
@spawnia suggested to add optional strings for each level i.e.
includeFetchResult: 'on-error'
. Building off that idea, I would turn it into a list and my ideal config would look likePrior thread #278 (comment)
The text was updated successfully, but these errors were encountered: