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

feat(profiling): Expand the discard reasons #1661

Merged
merged 7 commits into from
Dec 8, 2022

Conversation

phacops
Copy link
Contributor

@phacops phacops commented Dec 1, 2022

We only have a limited number of discard reasons for profiling and as the number of invalid profiles grow, it's difficult to understand why and make sure it's not due to a bug.

This PR aims to add more discard reasons and log an error in case we have a JSON deserialization error so we can investigate and fix it.

@phacops phacops requested a review from a team as a code owner December 1, 2022 21:56
@phacops phacops requested a review from a team December 1, 2022 21:56
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.

Two comments, apart from those this looks good to me!

relay-profiling/src/outcomes.rs Outdated Show resolved Hide resolved
relay-profiling/src/error.rs Outdated Show resolved Hide resolved
@phacops phacops force-pushed the pierre/profiling-expand-discard-reasons branch 2 times, most recently from bed1e58 to c9bd032 Compare December 8, 2022 03:41
@phacops phacops force-pushed the pierre/profiling-expand-discard-reasons branch from c9bd032 to f849cbc Compare December 8, 2022 03:42
@phacops phacops requested a review from Zylphrex December 8, 2022 03:58
@getsentry getsentry deleted a comment from github-actions bot Dec 8, 2022
@phacops phacops enabled auto-merge (squash) December 8, 2022 14:49
@phacops phacops merged commit f553755 into master Dec 8, 2022
@phacops phacops deleted the pierre/profiling-expand-discard-reasons branch December 8, 2022 15:06
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.

3 participants