module Datadog::Tracing::Contrib::Sinatra::Framework

def self.setup

Configure Rack from Sinatra, but only if Rack has not been configured manually beforehand
def self.setup
  Datadog.configure do |datadog_config|
    sinatra_config = config_with_defaults(datadog_config)
    activate_rack!(datadog_config, sinatra_config)
  end
end