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

ZeroDivisionError: float division by zero #80814

Open
sentry-io bot opened this issue Nov 15, 2024 · 0 comments
Open

ZeroDivisionError: float division by zero #80814

sentry-io bot opened this issue Nov 15, 2024 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Nov 15, 2024

Sentry Issue: SENTRY-3HYQ

ZeroDivisionError: float division by zero
  File "sentry/dynamic_sampling/tasks/recalibrate_orgs.py", line 182, in recalibrate_projects_batch
    recalibrate_project(org_id, project_id, total, keep, sample_rates[project_id])
  File "sentry/dynamic_sampling/tasks/recalibrate_orgs.py", line 214, in recalibrate_project
    adjusted_factor = compute_adjusted_factor(
  File "sentry/dynamic_sampling/tasks/helpers/recalibrate_orgs.py", line 102, in compute_adjusted_factor
    return prev_factor * (target_sample_rate / effective_sample_rate)
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

No branches or pull requests

0 participants