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

Forward profiles of non-sampled transactions #2940

Merged
merged 98 commits into from
Jan 26, 2024
Merged

Conversation

jjbayer
Copy link
Member

@jjbayer jjbayer commented Jan 12, 2024

Slowest function aggregation is a metrics-like profiling feature that requires symbolicated frames. Because of this dependency, it cannot (yet) be implemented as metrics aggregation in relay. Instead, forward all profiles to sentry, even if they would otherwise be dropped by dynamic sampling.

This feature is still experimental and guarded by a feature flag + global options.

This PR replaces #2374.

viglia and others added 30 commits August 2, 2023 16:50
This will let us use data of non sampled profiles to enhance current
aggregation (slowest function) with more data.
…ng (#2383)

Updating the envelope summary during envelope processing is currently a
no-go, because recomputing the summary will miss the event item, which
is taken from the envelope before processing.

#2380 contains an attempt to
remove caching of the envelope summary entirely. As a quick fix, this PR
provides a partial update function.

#skip-changelog
@jjbayer jjbayer marked this pull request as draft January 25, 2024 07:14
@jjbayer jjbayer marked this pull request as ready for review January 25, 2024 08:53
Copy link
Member

@Dav1dde Dav1dde left a comment

Choose a reason for hiding this comment

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

Changes make sense to me, but I think this should be reviewed with someone with more insights into our processing.

relay-dynamic-config/src/feature.rs Outdated Show resolved Hide resolved
relay-dynamic-config/src/feature.rs Outdated Show resolved Hide resolved
relay-dynamic-config/src/global.rs Outdated Show resolved Hide resolved
relay-server/src/services/processor.rs Outdated Show resolved Hide resolved
relay-server/src/envelope.rs Outdated Show resolved Hide resolved
relay-server/src/services/processor.rs Outdated Show resolved Hide resolved
relay-server/src/envelope.rs Outdated Show resolved Hide resolved
relay-server/src/envelope.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@iker-barriocanal iker-barriocanal left a comment

Choose a reason for hiding this comment

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

Good stuff! 🚀

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Iker Barriocanal <[email protected]>
@jjbayer jjbayer merged commit 2624f0c into master Jan 26, 2024
20 checks passed
@jjbayer jjbayer deleted the feat/ingest-non-sampled2 branch January 26, 2024 09:29
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.

5 participants