Skip to content

Conversation

@yuvmen
Copy link
Member

@yuvmen yuvmen commented Nov 10, 2025

When checking stacktrace frame count we now add a secondary check for stacktraces which pass the frame count to also filter by token count. This is a first step towards moving to token count only.

When checking stacktrace frame count we now add a secondary check for stacktraces which pass
the frame count to also filter by token count. This is a first step towards
moving to token count only.
@yuvmen yuvmen requested review from a team as code owners November 10, 2025 22:33
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 10, 2025
@codecov
Copy link

codecov bot commented Nov 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #103106      +/-   ##
===========================================
+ Coverage   79.79%    80.68%   +0.88%     
===========================================
  Files        9200      9206       +6     
  Lines      392932    393318     +386     
  Branches    24992     24992              
===========================================
+ Hits       313546    317354    +3808     
+ Misses      78960     75538    -3422     
  Partials      426       426              

"grouping.similarity.frame_count_filter",
"grouping.similarity.stacktrace_length_filter",
sample_rate=options.get("seer.similarity.metrics_sample_rate"),
tags={**shared_tags, "outcome": "block"},
Copy link
Member

Choose a reason for hiding this comment

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

Should we update this outcome to block_by_frame_count or something like that?

Copy link
Member

Choose a reason for hiding this comment

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

Same in the call to report_token_count_metric

Copy link
Member Author

Choose a reason for hiding this comment

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

oh yea for sure I want to differentiate between the two, not even a nit this is a real oversight, thanks 👍

Copy link
Member

@shashjar shashjar left a comment

Choose a reason for hiding this comment

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

Small nit

Copy link
Member

@JoshFerge JoshFerge left a comment

Choose a reason for hiding this comment

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

looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants