You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could add a List<ErrorClassification> of ignored errors, e.g. as constructor parameter for SentryInstrumentation.
An additional thing to do might be to pass the ErrorClassification in Hint for people not wanting to manually configure SentryInstrumentation when using spring-graphql where we offer auto configuration. This way it might be easier to filter using beforeSend etc.
You can now set a List<String> directly when calling the constructor of SentryInstrumentation. For Spring Boot it can also be set in application.properties as sentry.graphql.ignored-error-types=SOME_ERROR,ANOTHER_ERROR
Activity
adinauer commentedon Sep 29, 2023
When implementing also consider feedback in #2953
adinauer commentedon Oct 13, 2023
@ptrnk91 @SalyczeQ
6.31.0has just been released and allows filtering GraphQL errors.You can now set a
List<String>directly when calling the constructor ofSentryInstrumentation. For Spring Boot it can also be set inapplication.propertiesassentry.graphql.ignored-error-types=SOME_ERROR,ANOTHER_ERROR