Replies: 1 comment 1 reply
-
Hey @wpearse, the N+1 queries are not actually produced by the SDK but by Sentry itself so the It is a really good question though... I am going to ping @cleptric to see if there is a better way possibly but my first guess would be to "Ignore" them from the Sentry UI which should make them move to the "Ignored" tab and not re-appear since they are not resolved and be silenced that way. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! 👋
We love the new N+1 query alerts, they've helped us easily identify a few performance issues in our PHP/Laravel codebase.
We've resolved ~80% of these alerts, and there are ~20% left that we don't intend to resolve until later in the year until we're working on those areas of the code again. (A lot of the offending code will be replaced.)
We have implemented the
before_send
callback with the intention of identifying these N+1 Query alerts, and dropping them before they're sent to Sentry but we're having trouble correctly identifying an event that is an N+1 Query, so that we can suppress it. Any tips?Thanks in advance 🙏
Beta Was this translation helpful? Give feedback.
All reactions