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

Fix OpenTelemetry internal loading #3400

Merged
merged 6 commits into from
Jan 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Sacrifice for the linting gods ☠️
  • Loading branch information
marcotc committed Jan 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit c53390535e5cf1991fa28e78fadc9cc5692e5554
2 changes: 1 addition & 1 deletion lib/datadog/opentelemetry/sdk/propagator.rb
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ def extract(
getter: ::OpenTelemetry::Context::Propagation.text_map_getter
)
if getter != ::OpenTelemetry::Context::Propagation.text_map_getter &&
getter != ::OpenTelemetry::Common::Propagation.rack_env_getter
getter != ::OpenTelemetry::Common::Propagation.rack_env_getter
Datadog.logger.error(
"Custom getter #{getter} is not supported. Please inform the `ddtrace` team at " \
' https://github.com/DataDog/dd-trace-rb of your use case so we can best support you. Using the default ' \