Skip to content

ref(transactions): Remove all of transaction metric extraction#5792

Merged
Dav1dde merged 5 commits intomasterfrom
dav1d/rm-transaction-metric-extraction
Apr 10, 2026
Merged

ref(transactions): Remove all of transaction metric extraction#5792
Dav1dde merged 5 commits intomasterfrom
dav1d/rm-transaction-metric-extraction

Conversation

@Dav1dde
Copy link
Copy Markdown
Member

@Dav1dde Dav1dde commented Apr 8, 2026

  • Outcomes are inferred from the span usage metric, no longer the transaction metric.
  • Dynamic sampling also uses the spans count per root metric now.
  • All other transaction metrics were already removed before.
  • Removes the entire transactions namespace.
  • Remove transaction metrics extraction config.

This showcases a problem (which existed before) where we attach the transaction outcome to the span usage metric. When there are span rate limits, the transaction is also not counted. The code comment addresses a few options.

  • Apply span rate limits to transactions
  • Drop transaction payloads completely, only extract spans from transactions

@Dav1dde Dav1dde requested a review from a team as a code owner April 8, 2026 12:11
@Dav1dde Dav1dde self-assigned this Apr 8, 2026
@Dav1dde Dav1dde force-pushed the dav1d/rm-transaction-metric-extraction branch from b134b65 to 52ddb1d Compare April 8, 2026 12:12
@Dav1dde Dav1dde marked this pull request as draft April 8, 2026 12:16
@Dav1dde Dav1dde force-pushed the dav1d/rm-transaction-metric-extraction branch from 52ddb1d to ed909ef Compare April 8, 2026 14:41
@Dav1dde Dav1dde force-pushed the dav1d/rm-transaction-metric-extraction branch from ed909ef to b046034 Compare April 8, 2026 14:56
@Dav1dde Dav1dde requested a review from loewenheim April 8, 2026 14:56
@Dav1dde Dav1dde marked this pull request as ready for review April 8, 2026 14:57
@Dav1dde
Copy link
Copy Markdown
Member Author

Dav1dde commented Apr 8, 2026

@loewenheim jfyi the scope changed a bit sicne you last reviewed. I also deleted the metric namespace and had to adjust a bunch more tests.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 2 total unresolved issues (including 1 from previous review).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2a7d31e. Configure here.

@Dav1dde Dav1dde enabled auto-merge April 10, 2026 06:43
@Dav1dde Dav1dde added this pull request to the merge queue Apr 10, 2026
Merged via the queue into master with commit 7a71798 Apr 10, 2026
30 checks passed
@Dav1dde Dav1dde deleted the dav1d/rm-transaction-metric-extraction branch April 10, 2026 07:18
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