-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add ability to ignore in specific environment #12341
Comments
Would also love the inverse of this option, Ignore... > Until it happens for... > ENV |
Right, we have our test environment try to connect to other 3rd party api's test environments, and they often have issues, which we can ignore in our test environment, but we would never want to ignore in production. This could be extremely useful |
I was about to add request for the same thing, it would really be useful to have the ability to silence errors in specific environments. 👍 |
I totally agree. Please, do it! |
This would be very helpful! |
This would be very very useful |
I think the correct solution to this is skipping these events from the client using an event processor or the before_send hook. Do you think this would address your use case? |
Not sure you can call that a "correct solution". A workaround that requires coding on our end, sure. Sentry already provides some very useful filtering capability, so this wouldn't be too different. Or at least the ability to use environment in our Alert definition to not get alerts on these errors in non-prod environments |
Re-up on the issue and response to BYK comment: |
Right now I see alert rules for matching a specific environment or any environment. Sounds like what we need here is an anything but these environments option. Not sure how easy it is to implement, especially on the UI side though. @wedamija @markstory who shall we ping for an ultimate answer on this? |
Ignoring specific environments would require additional UI options and additional logic in the regression handling logic. None of that work is currently on any team roadmap that I'm aware of, but those plans are always very fluid. |
For my current purposes the feature as implemented may do the job since the services I'm working with at the moment only have 1 production environment so "Only For Prod" instead of the current "All Environments" gets me by for now and sorry I missed that. We have 3 different "Production Like" environments so the ability to specify Alert on those and not on our 2 "lower" environments (So not even an "All but this one" but really a "Alert for these specific environments only") would still be a useful feature just not as urgent on our part if it's not in your backlog. |
In my case, a few specific app's errors are completely ok for the dev environment but are red flags for the production environment. It would be great if I could use But it's not only about alerts: I want to see all other errors in the dev environment to fix it before they'll pass to production. So, I think it's should be issue-specific setting, not a project-specific |
Would love it if I could configure sentry to log to the console instead of sending the event to sentry in certain environments (e.g. |
@jazzdragon you can already do that. https://docs.sentry.io/platforms/javascript/configuration/filtering/#using-beforesend |
Now that Sentry have kindly released the AWS Lambda Layer integration I believe this makes these sorts of code solutions/workarounds not possible in a context when Sentry is automagically integrated. |
Routing to @getsentry/workflow for triage. ⏲️ |
re-routing this as ignoring individual issues is not within scope of relay, and given the discussion so far I don't think they're asking for a mechanism to drop data for quota management |
Is there any information on when this could be done? |
Routing to @getsentry/product-owners-issues for triage ⏲️ |
Hi axilis-marko, this similar issue #57446 is in our backlog. Unfortunately I don't have an update on when we can prioritize it. |
@jangjodi thanks for the response. Upvoted that one as well. |
@jangjodi As a paying customer, it's incredibly frustrating to see the most upvoted issue in the backlog go unaddressed for years. It really has me questioning how things work internally at Sentry, especially prioritization. Why even bother with a public backlog if you aren't going to listen to what your users want most? If there aren't obvious improvements to how prioritization happens, and soon, our org may have to consider moving to a different solution when our current contract is up. One of the things we value most is the response to user feedback, and I'm just not seeing enough of that in this case. Thanks for your consideration on this larger issue. |
@rachrwang @Dhrumil-Sentry seeing that this is a highly requested feature, is this something we can prioritize in the near future? |
This would be a great improvement. We are looking at ways to implement this ourselves, and it is proving difficult to build a robust solution. |
Summary
Add the ability to ignore issues produced by specified environments.
Motivation
In our build process we have an error that pops up redietly and I would lkike to ignore this error when it comes from development, however the same error has the possibility to pop up in production and I would like to have these errors still be tracked in production. This would help prevent non issues from coming up as regressions but also allow them to show in environments that are important
The text was updated successfully, but these errors were encountered: