-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
(Empty string) can not be searched #61933
Comments
Routing to @getsentry/product-owners-discover for triage ⏲️ |
Assigning to @getsentry/support for routing ⏲️ |
Heads up, I'm going to own this and take a deeper look. I'll update with any progress that I make |
Would love a fix with this. I'm trying to make a dashboard based on a tag and I need to filter out rows without that tag being present, and I'm not sure I can do that right now since it shows up as (Empty string) |
Hey @endrift, sorry I haven't been able to fix this one yet, other things have taken my attention away from this fix. I've come up with a workaround in the meantime. You can add a version of this filter to your widget: This essentially treats the count as a flag and we can filter out rows where the tag is empty. Please let me know if it works for you! For my own context, is the empty string something you've explicitly set? Or is it occurring because of a data scrubbing rule? If it's the former, you could have a different value set that's easier to filter out for the future until this is fixed. If the latter and the product is producing empty strings by default we would want to look into that experience. |
It's closer to the former. We try to gather some explicit context about crashes if it's available, but since it's not always available it can be (Empty string). I'm trying to create a dashboard filter of the different counts of the distinct values, but the case where it's not available isn't interesting because it could be anything then. The workaround seems fine in the meantime, though obviously less than ideal in the long run. |
I appreciate the context @endrift. I'm glad to hear the workaround is sufficient for now, I'll update you once again when we're able to get this fixed. Thanks for your patience on this. |
This functionality should be available in the product after recent search changes. @endrift Can you check that this is still an issue for you? You should be able to fulfil this search with For now I'll close this issue, but if the new functionality isn't what you're looking for, please reopen the issue and let us konw what you're experiencing so we can take a look. |
Which version was this introduced in? We're using self-hosted and are currently on 24.11.0. I can prompt the admin to update if needed. |
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
Add a scrubbing rule to [Remove] user ID
Find events in Discover with the scrubbed-out user ID:
Try to add the empty string to the filter:
!has:user.id
user.id:""
Expected Result
Return the events with (empty string)
Actual Result
Returns nothing
Product Area
Discover
Link
No response
DSN
No response
Version
No response
The text was updated successfully, but these errors were encountered: