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(server): Report indexing outcomes for dynamic sampling [INGEST-1681] #1561

Merged
merged 4 commits into from
Nov 2, 2022

Conversation

jan-auer
Copy link
Member

@jan-auer jan-auer commented Nov 2, 2022

Moves outcomes for transactions dropped through dynamic sampling to the
transaction_indexed data category. This ensures that within each data
category, every transaction is counted exactly once and totals sum up.

Example: Send 100 transactions to Sentry at a 50% sample rate. For 100
transactions, Relay extracts metrics and we report a transaction:accepted
outcome. For 50 transactions we report transaction_indexed:filtered and for 50
we report transaction_indexed:accepted.

@jan-auer jan-auer requested a review from a team November 2, 2022 11:57
@jan-auer jan-auer changed the title fix(server): Report indexing outcomes for dynamic sampling fix(server): Report indexing outcomes for dynamic sampling [INGEST-1681] Nov 2, 2022
relay-server/src/utils/envelope_context.rs Outdated Show resolved Hide resolved
relay-server/src/utils/envelope_context.rs Outdated Show resolved Hide resolved
relay-server/src/utils/envelope_context.rs Outdated Show resolved Hide resolved
@jan-auer jan-auer merged commit ff2d211 into master Nov 2, 2022
@jan-auer jan-auer deleted the fix/sampling-index-outcome branch November 2, 2022 13:50
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.

None yet

4 participants