Skip to content

Conversation

szokeasaurusrex
Copy link
Member

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

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                             @@
##           antonpirker/code-changes-for-sdk-3.0.0   #93011      +/-   ##
==========================================================================
+ Coverage                                   81.76%   83.05%   +1.29%     
==========================================================================
  Files                                       10274    10292      +18     
  Lines                                      590216   591697    +1481     
  Branches                                    22886    22886              
==========================================================================
+ Hits                                       482568   491428    +8860     
+ Misses                                     106391    99012    -7379     
  Partials                                     1257     1257              


with patch.dict(os.environ, env_dict, clear=True):
with django.test.override_settings(SENTRY_INGEST_CONSUMER_APM_SAMPLING=settings_value):
# If settings_value is None, delete the setting to simulate it not being set
Copy link
Contributor

Choose a reason for hiding this comment

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

override_settings doesn't do this automatically? That's a shame.

Copy link
Member Author

Choose a reason for hiding this comment

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

No, it sets it to None

@antonpirker antonpirker merged commit 443f074 into antonpirker/code-changes-for-sdk-3.0.0 Jun 11, 2025
57 checks passed
@antonpirker antonpirker deleted the szokeasaurusrex/custom-sample-rate-test branch June 11, 2025 15:08
@github-actions github-actions bot locked and limited conversation to collaborators Jun 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants