You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: propagator.rb
    path of file: ./repos/dd-trace-rb/lib/datadog/opentelemetry/sdk
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Datadog
  module OpenTelemetry
    module SDK
      # Compatibility wrapper to allow Datadog propagators to fulfill the
      #
    
        def extract(
          carrier, context: ::OpenTelemetry::Context.current,
          getter: ::OpenTelemetry::Context::Propagation.text_map_getter
        )
          if getter != ::OpenTelemetry::Context::Propagation.text_map_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 ' \
            'OpenTelemetry::Context::Propagation.text_map_getter as a fallback getter.'
            )
          end