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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidekiq : Remove worker specific configuration #3402

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

TonyCTHsu
Copy link
Contributor

2.0 Upgrade Guide notes

馃毃 Remove Sidekiq worker specific configuration

Defining datadog_tracer_config on Sidekiq worker is never documented and publicly supported. Hence removing the code.

@TonyCTHsu TonyCTHsu requested a review from a team as a code owner January 25, 2024 17:12
@github-actions github-actions bot added integrations Involves tracing integrations tracing labels Jan 25, 2024
@@ -75,8 +75,6 @@ def perform

context 'with custom job' do
before do
allow(Datadog.configuration.tracing).to receive(:[]).with(:sidekiq).and_return(sidekiq_options)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just bad practice for test. I refactored a bit code to inject options for middleware

@TonyCTHsu TonyCTHsu merged commit 048f32f into 2.0 Jan 25, 2024
152 checks passed
@TonyCTHsu TonyCTHsu deleted the tonycthsu/remove-sidekiq-worker-specific-config branch January 25, 2024 19:33
@TonyCTHsu TonyCTHsu added this to the 2.0 milestone Feb 20, 2024
@ivoanjo ivoanjo added the 2.0 label Mar 14, 2024
@TonyCTHsu TonyCTHsu modified the milestones: 2.0, 2.0.0.beta1 Mar 22, 2024
@TonyCTHsu TonyCTHsu mentioned this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0 integrations Involves tracing integrations tracing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants