Skip to content

ref(metrics): Deprecate sentry_sdk.metrics #3512

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

szokeasaurusrex
Copy link
Member

Raise a DeprecationWarning on import of the sentry_sdk.metrics module.

Closes #3502

Raise a `DeprecationWarning` on import of the `sentry_sdk.metrics` module.

Closes #3502
Copy link

codecov bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.74%. Comparing base (22f62b0) to head (42e6105).
Report is 1 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3512      +/-   ##
==========================================
+ Coverage   79.72%   79.74%   +0.01%     
==========================================
  Files         136      136              
  Lines       14677    14681       +4     
  Branches     3082     3083       +1     
==========================================
+ Hits        11701    11707       +6     
+ Misses       2135     2134       -1     
+ Partials      841      840       -1     
Files with missing lines Coverage Δ
sentry_sdk/metrics.py 81.29% <100.00%> (+0.08%) ⬆️
sentry_sdk/tracing.py 76.95% <100.00%> (+0.09%) ⬆️

... and 3 files with indirect coverage changes

@szokeasaurusrex szokeasaurusrex enabled auto-merge (squash) September 10, 2024 13:09
@szokeasaurusrex szokeasaurusrex merged commit c635e3e into master Sep 10, 2024
123 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/metrics-deprecation branch September 10, 2024 13:17
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate Metrics APIs
2 participants