Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Remove outdated deprecation message about disabled_* config options #3005

Merged
merged 3 commits into from
Jan 3, 2025

Conversation

kaylareopelle
Copy link
Contributor

@kaylareopelle kaylareopelle commented Jan 2, 2025

While reviewing logs for a GTSE, I noticed this outdated DEBUG-level log message:

DEBUG : [DEPRECATED] configuration disable_action_dispatch for action_dispatch will be removed in the next major release. Use instrumentation.action_dispatch with one of ["auto", "disabled", "prepend", "chain"]

There is no instrumentation.action_dispatch config option, and one is not planned to be added in the future. Action Dispatch instrumentation uses ActiveSupport::Notifications, a pub/sub model. The instrumentation.* config options are for instrumentation that uses module prepending or alias method chaining.

We removed all the disabled_* configuration options that correlate to an instrumentation.* configuration option in our last major version. The disabled_* options that remain will not be replaced with instrumentation.* options because they do not use alias method chaining or module prepending or are not related to instrumentation-related, but rather relate to specific features.

Also, add an alias for the disable_activejob instrumentation to also accept, disable_active_job.

@kaylareopelle kaylareopelle force-pushed the remove-outdated-deprecation-message branch from a4055ab to d3390a0 Compare January 2, 2025 19:26
We removed all the disabled_* configuration options that correlate
to an instrumentation.* configuration option in our last major version.
The disabled_* options
that remain will not be replaced with instrumentation.* options because
they do not use alias method chaining or module prepending or are not
related to instrumentation-related, but rather specific features.

Also, add alias for disable_active_job.
@kaylareopelle kaylareopelle force-pushed the remove-outdated-deprecation-message branch from d3390a0 to 31cd3ec Compare January 2, 2025 19:28
@kaylareopelle kaylareopelle changed the title Remove deprecated_disabled_configured Remove outdated deprecation message about disabled_* config options Jan 2, 2025
Copy link
Contributor

github-actions bot commented Jan 2, 2025

SimpleCov Report

Coverage Threshold
Line 93.86% 93%

@kaylareopelle kaylareopelle marked this pull request as ready for review January 2, 2025 20:24
tannalynn
tannalynn previously approved these changes Jan 2, 2025
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
kaylareopelle and others added 2 commits January 3, 2025 08:51
Co-authored-by: Hannah Ramadan <[email protected]>
Co-authored-by: Hannah Ramadan <[email protected]>
@kaylareopelle kaylareopelle merged commit ac145af into dev Jan 3, 2025
34 checks passed
@kaylareopelle kaylareopelle deleted the remove-outdated-deprecation-message branch January 3, 2025 18:06
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.

3 participants