fix(deps): update rust crate sentry to 0.48.0 - #140
Conversation
Test Results46 tests 46 ✅ 2s ⏱️ Results for commit de5efec. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #140 +/- ##
=======================================
Coverage 87.86% 87.86%
=======================================
Files 8 8
Lines 2430 2430
Branches 2430 2430
=======================================
Hits 2135 2135
Misses 261 261
Partials 34 34 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@kdkasad do we want to enable metrics for the webring? |
|
I haven't been working on that PR primarily because I don't know how to export the data into a format that can be accepted by opentelemetry/sentry/prometheus/whatever. If you want, I could make my statistics tracker export data to a facade and someone else could implement the other end of it? |
|
Actually @ericswpark it looks like Sentry's Rust SDK doesn't support application metrics yet: https://docs.sentry.io/product/explore/metrics/getting-started/ |
I think that link hasn't been updated. See the changelog for the new release and it does mention Metrics support. But if we are adding metrics later then I think this PR can be merged since we won't be enabling it now. |
This PR contains the following updates:
0.47.0→0.48.0Release Notes
getsentry/sentry-rust (sentry)
v0.48.0Compare Source
Breaking Changes
ClientOptionsstruct insentry-core. Both fields are no-ops, unless themetricsfeature flag is enabled:enable_metrics, used to enable sending metrics to Sentry (#1073).before_send_metric, used to define a callback for filtering/pre-processing metrics before sending to Sentry (#1064).sentry_core::ClientOptionsfieldsbefore_send_log,enable_logs,auto_session_tracking, andsession_modeare no longer gated behind thelogsandrelease-healthfeature flags (#1091). Code that constructsClientOptionswith a full struct literal (without..Default::default()), or which exhaustively matches against it, must now include all four fields regardless of enabled features.sentry_core::Scopecan no longer be publicly constructed or exhaustively matched against, even when theclientfeature is disabled (#1094). Previously, both of these were possible whenclientwas disabled.sentry_core::Scope::add_event_processornow requires passed closures to beRefUnwindSafe(#1093). Thanks to this change,sentry_core::Scopeis nowUnwindSaferegardless of feature flag configuration; previously,Scopewas onlyUnwindSafewhen theclientfeature was disabled.sentry_tracing::EventMappingis now#[non_exhaustive](#1097).sentry_log::RecordMappingis now#[non_exhaustive](#1098).New Features
📊📈💯 The Sentry-Rust SDK now supports emitting Sentry Metrics (#1073)!
To get started, you will need to add the
metricsfeature flag when compiling thesentrycrate. You will also need to enable metrics when initializing the SDK, like so:You can then capture metrics as follows:
Fixes
Configuration
📅 Schedule: (in timezone America/Indiana/Indianapolis)
* 8-23 * * 5,6)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.