Skip to content

feat(sdk): Add sampling multiplier config as an intermediate step to 100% sampling#52104

Merged
sl0thentr0py merged 1 commit intomasterfrom
neel/sample-100-percent
Jul 10, 2023
Merged

feat(sdk): Add sampling multiplier config as an intermediate step to 100% sampling#52104
sl0thentr0py merged 1 commit intomasterfrom
neel/sample-100-percent

Conversation

@sl0thentr0py
Copy link
Member

We want to eventually end up in a state where we sample at 100% client (sdk) side.

Not being sure about the impact of just turning this on throughout the system,
we will do it in steps with the new SENTRY_MULTIPLIER_APM_SAMPLING config that we will bump in steps,
first on isolated instances and then everywhere till we either

@sl0thentr0py sl0thentr0py requested a review from a team as a code owner July 3, 2023 16:05
@sl0thentr0py sl0thentr0py requested review from beezz and untitaker July 3, 2023 16:05
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 3, 2023
@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Merging #52104 (6741d86) into master (fd47c83) will increase coverage by 1.83%.
The diff coverage is 20.00%.

❗ Current head 6741d86 differs from pull request most recent head 8dc373d. Consider uploading reports for the commit 8dc373d to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #52104      +/-   ##
==========================================
+ Coverage   77.48%   79.32%   +1.83%     
==========================================
  Files        4912     4910       -2     
  Lines      206147   205971     -176     
  Branches    35225    35194      -31     
==========================================
+ Hits       159737   163390    +3653     
+ Misses      41358    37584    -3774     
+ Partials     5052     4997      -55     
Impacted Files Coverage Δ
src/sentry/utils/sdk.py 68.51% <0.00%> (+14.21%) ⬆️
src/sentry/conf/server.py 91.87% <100.00%> (ø)

... and 322 files with indirect coverage changes

100% sampling

We want to eventually end up in a state where we sample at 100% client
(sdk) side. Not being sure about the impact of just turning this on
throughout, we will do it in steps wit the new
`SENTRY_MULTIPLIER_APM_SAMPLING` config that we will bump in steps,
first on isolated instances and then throughout till we
* get to 100% sampling
* find and document problems that we can handle via backpressure
  management in SDKs
@sl0thentr0py sl0thentr0py force-pushed the neel/sample-100-percent branch from 6741d86 to 8dc373d Compare July 10, 2023 10:41
@sl0thentr0py sl0thentr0py enabled auto-merge (squash) July 10, 2023 10:41
@sl0thentr0py sl0thentr0py merged commit 6cd7c04 into master Jul 10, 2023
@sl0thentr0py sl0thentr0py deleted the neel/sample-100-percent branch July 10, 2023 11:07
@github-actions github-actions bot locked and limited conversation to collaborators Jul 25, 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.

2 participants