Skip to content

fix: add os.distribution_X FieldKey values to autofill search #81656

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

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

JoshuaMoelans
Copy link
Member

As part of the following sentry-native PR we want to be able to search on these recently added fields by having them autofill.

Originally added (unflattened) in #69865
Flattened them for searchability in #81297

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 4, 2024
Comment on lines +1922 to +1923
FieldKey.OS_DISTRIBUTION_NAME,
FieldKey.OS_DISTRIBUTION_VERSION,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if they conflict with tags, but put them in here as well since the OS_KERNEL_VERSION is here too.

@JoshuaMoelans JoshuaMoelans marked this pull request as ready for review December 4, 2024 14:12
Copy link
Member

@narsaynorath narsaynorath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! They're showing up in issues search now. We have docs pages that list out the searchable fields, we should add this to both the one for issues and one for events near the other OS keys

https://docs.sentry.io/concepts/search/searchable-properties/events/#osbuild
https://docs.sentry.io/concepts/search/searchable-properties/issues/#osbuild

@JoshuaMoelans JoshuaMoelans merged commit 0dc25f8 into master Dec 4, 2024
44 checks passed
@JoshuaMoelans JoshuaMoelans deleted the joshua/feat/autofill_distribution_search branch December 4, 2024 14:36
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants