Skip to content
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

fix(protocol): Flatten Linux distribution into os context #4292

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JoshuaMoelans
Copy link
Member

@JoshuaMoelans JoshuaMoelans commented Nov 25, 2024

(continuation of #3443 )

To make these fields searchable, we had to change from a nested to a flattened approach. This is provided in sentry-native (relevant PR).

The update is also tracked on the docs side: getsentry/sentry-docs#11936

@JoshuaMoelans
Copy link
Member Author

I'm not sure if this is a skip-changelog kind of situation; the previous (non-flattened) implementation is listed as a feature under 24.4.1 , so maybe this update should be labelled as a fix/internal?

Copy link
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

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

Why does it need to be flattened to become searchable? Could we fix this on the storage end instead of changing the schema?

@JoshuaMoelans
Copy link
Member Author

@jjbayer snuba cannot handle the nesting we had before (and the team apparently was reluctant to add this feature, hence this PR was closed without merging). They suggested to flatten our 3-layered context values back to 2 layers.

@jjbayer
Copy link
Member

jjbayer commented Nov 27, 2024

snuba cannot handle the nesting we had before (and the team apparently was reluctant to add this feature, hence this PR was closed without merging). They suggested to flatten our 3-layered context values back to 2 layers.

@JoshuaMoelans have SDKs already been sending the nested format? In that case, we need to still accept the nested format and normalize it into the flat format.

@JoshuaMoelans
Copy link
Member Author

@jjbayer no, since we never merged & released the sentry-native PR we have not been sending these nested format events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants