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

chore(profiling): Change continuous profile buffer size #3987

Conversation

Zylphrex
Copy link
Member

@Zylphrex Zylphrex commented Jan 21, 2025

This lowers the sampling frequency of continuous profiles to 21Hz and increases the buffer size to 1 minute to match the desired settings for continuous profiling.

…ffer size

This lowers the sampling frequency of continous profiles to 21Hz and increases
the buffer size to 1 minute.
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.19%. Comparing base (91bf322) to head (2f497c3).
Report is 1 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3987      +/-   ##
==========================================
+ Coverage   80.16%   80.19%   +0.03%     
==========================================
  Files         139      139              
  Lines       15403    15403              
  Branches     2597     2597              
==========================================
+ Hits        12348    12353       +5     
+ Misses       2211     2206       -5     
  Partials      844      844              
Files with missing lines Coverage Δ
sentry_sdk/profiler/continuous_profiler.py 82.44% <100.00%> (ø)
sentry_sdk/transport.py 80.04% <100.00%> (ø)

... and 3 files with indirect coverage changes

@Zylphrex
Copy link
Member Author

Holding off on merging this until I confirm a few things.

@Zylphrex Zylphrex changed the title chore(profiling): Change continuous profile sampling frequency and bu… chore(profiling): Change continuous profile buffer size Jan 31, 2025
@Zylphrex
Copy link
Member Author

Zylphrex commented Feb 3, 2025

Only bumping the buffer size to 1min and keeping the sampling frequency at 101hz. Reducing the sampling frequency on the SDK will cause pains that are difficult to undo.

@Zylphrex Zylphrex merged commit 2724d65 into master Feb 3, 2025
151 checks passed
@Zylphrex Zylphrex deleted the txiao/chore/change-continuous-profile-sampling-frequency-and-buffer-size branch February 3, 2025 18:40
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.

2 participants