Skip to content

Conversation

@yuvmen
Copy link
Member

@yuvmen yuvmen commented Jun 6, 2025

As part of error extrapolation/upsampling we need to now make sure the times_seen on groups is calculated correctly on projects where events have a sample rate.
Now in event manager for projects in the allowlist we increment times_seen not be 1 but by the inverse of sample_rate, both when creating a new group and when saving a new event.

@yuvmen yuvmen requested a review from a team as a code owner June 6, 2025 00:35
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 6, 2025
@yuvmen yuvmen force-pushed the yuvmen/extrapolated-times-seen-on-error-issues branch from 161c7d9 to 9d3aa38 Compare June 6, 2025 17:32
@codecov
Copy link

codecov bot commented Jun 6, 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   #93003    +/-   ##
========================================
  Coverage   87.90%   87.90%            
========================================
  Files       10289    10289            
  Lines      590621   590788   +167     
  Branches    22961    22961            
========================================
+ Hits       519161   519335   +174     
+ Misses      71013    71006     -7     
  Partials      447      447            

@yuvmen yuvmen merged commit 4bf0405 into master Jun 6, 2025
61 checks passed
@yuvmen yuvmen deleted the yuvmen/extrapolated-times-seen-on-error-issues branch June 6, 2025 18:10
@sentry
Copy link

sentry bot commented Jun 9, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ TimeoutError: Timeout reading from socket sentry.tasks.store.save_event View Issue
  • ‼️ TimeoutError: Timeout connecting to server sentry.tasks.store.save_event View Issue
  • ‼️ ConnectionError: Error while reading from socket: (104, 'Connection reset by peer') sentry.tasks.store.save_event View Issue

Did you find this useful? React with a 👍 or 👎

andrewshie-sentry pushed a commit that referenced this pull request Jun 19, 2025
…r sample rate into account (#93003)

As part of error extrapolation/upsampling we need to now make sure the
times_seen on groups is calculated correctly on projects where events
have a sample rate.
Now in event manager for projects in the allowlist we increment
times_seen not be 1 but by the inverse of sample_rate, both when
creating a new group and when saving a new event.
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2025
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