diff --git a/lib/aws-xray-sdk/sampling/connector.rb b/lib/aws-xray-sdk/sampling/connector.rb index 8f7d643..b31d091 100644 --- a/lib/aws-xray-sdk/sampling/connector.rb +++ b/lib/aws-xray-sdk/sampling/connector.rb @@ -37,7 +37,8 @@ def update_xray_client(ip: '127.0.0.1', port: 2000) @xray_client = Aws::XRay::Client.new( endpoint: %(http://#{ip}:#{port}), access_key_id: 'dummy', # AWS Ruby SDK doesn't support unsigned request - secret_access_key: 'dummy' + secret_access_key: 'dummy', + region: 'us-west-2' # not used ) end