- Breaking: The default sampler now launches background tasks to poll sampling rules from X-Ray service. See more details on how to create sampling rules: https://docs.aws.amazon.com/xray/latest/devguide/xray-console-sampling.html.
- Breaking: The sampling modules related to local sampling rules have been renamed and moved to
sampling/local
namespace. - Breaking: The default json serializer is switched to
multi_json
for experimental JRuby support. Now you need to specifyoj
orjrjackson
in Gemfile. PR#5 - Breaking: The SDK now requires
aws-sdk-xray
>=1.4.0
. - Feature: Environment variable
AWS_XRAY_DAEMON_ADDRESS
now takes an additional notation intcp:127.0.0.1:2000 udp:127.0.0.2:2001
to set TCP and UDP destination separately. By default it assumes a X-Ray daemon listening to both UDP and TCP traffic on127.0.0.1:2000
. - Bugfix - Call only once if
current_entity
is nil. PR#9
- Feature - Added SDK and Ruby runtime information to sampled segments.
- Bugfix - Fixed an issue where patched net/http returns incorrect reponse object. ISSUE#2
- Bugfix - Fixed an issue where client ip is set incorrectly if the ip address is retrieved from header
X-Forwarded-For
. ISSUE#3
- Bugfix - Fixed an issue where subsegment captures could break even if
context_missing
is set toLOG_ERROR
. - Bugfix - Fixed gemspec to have the correct Ruby version requirement.