Skip to content

feat(protocol): Track transaction name changes #1466

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 7 commits into from
Sep 14, 2022

Conversation

jan-auer
Copy link
Member

Introduces propagations and changes that provides more insight into how a
transaction name was changed during the lifetime of a transaction span. Since
the transaction name is propagated to downstream SDKs as part of the Dynamic
Sampling Context (DSC), this is a relevant quality metric for sampling traces by
transaction name.

All traces where propagations occur before the final transaction name is set
may not be sampled consistently if there are rules matching on the transaction
name.

Ref getsentry/sentry-javascript#5679

@jan-auer jan-auer merged commit 6080886 into master Sep 14, 2022
@jan-auer jan-auer deleted the feat/protocol-transaction-changes branch September 14, 2022 08:00
jan-auer added a commit that referenced this pull request Sep 22, 2022
Follow-up to #1466 that fixes some outlier conditions:

- Assume a 0% change vs propagations ratio when there were no changes
- Log timing metrics even if there was no change (using the start
  timestamp)
- Skip changes at the end of every transaction (i.e. event processors)
jan-auer added a commit that referenced this pull request Dec 5, 2022
The metrics introduced in #1466 are no longer needed and can be removed.
We keep the protocol to ingest information about propagations, however.
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