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(txnames): Always count clusterer run #49597

Merged
merged 1 commit into from
May 24, 2023
Merged

Conversation

jjbayer
Copy link
Member

@jjbayer jjbayer commented May 23, 2023

Count a clusterer run whenever the clusterer spawn job is scheduled and a project has collected at least one transaction since the last run.

Projects that have very few unique transaction names (i.e. low cardinality) should get those metrics tagged by the original transaction name, instead of being stuck in << unparameterized >> forever.

#49087 already lowered the threshold, but we're still seeing a high percentage of URL transactions not getting relabeled.

ref: https://github.com/getsentry/team-ingest/issues/124

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label May 23, 2023
@codecov
Copy link

codecov bot commented May 23, 2023

Codecov Report

Merging #49597 (80ab4e6) into master (f5271b3) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #49597   +/-   ##
=======================================
  Coverage   80.97%   80.97%           
=======================================
  Files        4820     4820           
  Lines      202144   202144           
  Branches    11346    11346           
=======================================
+ Hits       163680   163685    +5     
+ Misses      38211    38206    -5     
  Partials      253      253           
Impacted Files Coverage Δ
src/sentry/ingest/transaction_clusterer/tasks.py 97.67% <100.00%> (ø)

... and 4 files with indirect coverage changes

@jjbayer jjbayer marked this pull request as ready for review May 23, 2023 12:28
@jjbayer jjbayer requested a review from a team May 23, 2023 12:28
@jjbayer jjbayer merged commit def9717 into master May 24, 2023
@jjbayer jjbayer deleted the fix/txname-cluster-run branch May 24, 2023 04:51
volokluev pushed a commit that referenced this pull request May 30, 2023
Count a clusterer run whenever the clusterer spawn job is scheduled and
a project has collected at least one transaction since the last run.

Projects that have very few unique transaction names (i.e. low
cardinality) should get those metrics tagged by the original transaction
name, instead of being stuck in `<< unparameterized >>` forever.

#49087 already lowered the
threshold, but we're still seeing a high percentage of URL transactions
not getting relabeled.

ref: getsentry/team-ingest#124
@github-actions github-actions bot locked and limited conversation to collaborators Jun 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants