Skip to content

ref(metrics): Deprecate sentry_sdk.metrics#3512

Merged
szokeasaurusrex merged 2 commits into
masterfrom
szokeasaurusrex/metrics-deprecation
Sep 10, 2024
Merged

ref(metrics): Deprecate sentry_sdk.metrics#3512
szokeasaurusrex merged 2 commits into
masterfrom
szokeasaurusrex/metrics-deprecation

Conversation

@szokeasaurusrex
Copy link
Copy Markdown
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
@codecov
Copy link
Copy Markdown

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
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/metrics-deprecation branch September 10, 2024 13:17
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.

Deprecate Metrics APIs

2 participants