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 DT warnings for sidekiq #1834

Merged
merged 5 commits into from
Feb 23, 2023
Merged

Remove DT warnings for sidekiq #1834

merged 5 commits into from
Feb 23, 2023

Conversation

tannalynn
Copy link
Contributor

@tannalynn tannalynn commented Feb 22, 2023

The agent attempts to accept dt headers from sidekiq jobs if distributed tracing is enabled. If the jobs are not being created with an agent that also has dt enabled, then this can result in an excessive number of warnings in the agent logs. This change will make it so that we will only attempt to accept the headers if it is not empty.

closes #1725

@tannalynn tannalynn marked this pull request as ready for review February 23, 2023 00:17
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: James Bunch <[email protected]>
fallwith
fallwith previously approved these changes Feb 23, 2023
CHANGELOG.md Outdated Show resolved Hide resolved
kaylareopelle
kaylareopelle previously approved these changes Feb 23, 2023
Copy link
Contributor

@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

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

One suggestion, feel free to disregard.

capitalize Distributed Tracing and Sidekiq.

Co-authored-by: Kayla Reopelle (she/her) <[email protected]>
@fallwith fallwith merged commit 305a494 into dev Feb 23, 2023
@fallwith fallwith deleted the sidekiq_dt_warnings branch February 23, 2023 19:42
@github-actions
Copy link
Contributor

SimpleCov Report

Coverage Threshold
Line 93.94% 93%
Branch 85.37% 84%

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.

Frequent warning about bad parameters to accept_distributed_trace_headers
3 participants