Update sentry-ruby monorepo to v6 (major) #1477
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.28.1->6.0.05.28.1->6.0.0Release Notes
getsentry/sentry-ruby (sentry-rails)
v6.0.0Compare Source
Breaking Changes
config.async#1894Sentry::Metricsandconfig.metricsand all metrics related code (#2729)config.capture_exception_frame_locals, useinclude_local_variablesinstead (#2730)config.enable_tracing, useconfig.traces_sample_rate = 1.0instead (#2731)config.logger=, useconfig.sdk_logger=instead (#2732)Sentry.loggernow always points to theStructuredLogger(#2752)Sentry::Rails::Tracing::ActionControllerSubscriber(#2733)Event#configuration(#2740)Sentry::Client#generate_sentry_traceandSentry::Client#generate_baggage(#2741)Transactiondeprecations (#2736)Sentry::Transaction::SENTRY_TRACE_REGEXP, useSentry::PropagationContext::SENTRY_TRACE_REGEXPinsteadSentry::Transaction.from_sentry_trace, useSentry.continue_traceinsteadSentry::Transaction.extract_sentry_trace, useSentry::PropagationContext.extract_sentry_traceinsteadSentry::Transaction.configurationSentry::Transaction.hubhubtoSentry::Transaction.finishhubtoSentry::Transaction#initialize(#2739):monotonic_active_support_loggerfromconfig.breadcrumbs_logger(#2717)before_send_check_infor applying toCheckInEvent(#2703)before_sendandbefore_send_transactionis no longer supported and will drop the event.config.enabled_environmentsnow defaults tonilinstead of[]for sending to all environments (#2716)[(301..303), (305..399), (401..404)]will no longer create transactions by default. Seeconfig.trace_ignore_status_codesbelow to control what gets traced.Features
Add
config.trace_ignore_status_codesto control which response codes to ignore for tracing (#2725)You can pass in an Array of individual status codes or ranges of status codes.
...
will ignore 404, 501, 502, 503
end
Configuration
📅 Schedule: Branch creation - At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday ( * 0-4,22-23 * * 1-5 ), Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.