All notable changes to this project will be documented in this file.
- Bump Go version to v1.22.4 PR #222
- Bump golang.org/x/net from 0.17.0 to 0.23.0 PR #219
- Use latest tag for amazonlinux for Docker image PR #217
- Add http2 timouts to close bad TCP connection PR #216
- Bump Go version to v1.21.5 PR #212
- Bump Go version to v1.21.1 PR #205
- Bump golang.org/x/net to v0.15.0 to fix CVE-2023-3978 PR #205
- Bump aws-sdk-go to v1.44.298 for SSO token provider support for sso-session in AWS shared config PR #206
- User-agent redesign - add additional information to user-agent PR #188
- Remove custom backoff logic for sending segments PR #186
- Fix CVE-2022-27664 PR #180
- Upgrade aws-sdk-go to latest version to get SSO credential support PR #168
- Fix CVE issues by bumping GO version to 1.18 PR #173
- Add logging for ignored errors PR #138
- Upgrade minimum golang version for compiling to 1.16.6 PR #148
- Upgrade golang
net
andsys
libraries PR #150
- Fix Daemon startup log missing, set default log level as Info PR #129
- Rollback Dockerhub image base to AmazonLinux PR #130
- Fix nil pointer dereference when the daemon receives an invalid message PR #122
- Support for fetching region from ECS metadata PR #41
- Building X-Ray Daemon docker image from
scratch
instead of fromamazonlinux
as done previously PR #44 - Added license and third party licenses to all the packages PR #46
- Set hostname and instance-id when EC2 metadata is blocked PR #54
- Prevent leaking customer traces at default log level PR #61
- Do not print successfully if there are Unprocessed segments PR #64
- Reduce debug logging causing log flooding PR #65
- Debug logging print only unprocessed segments detail PR #66
- Change linux service type from
simple
toexec
PR #98 - Log traceId for unprocessed segments PR #106
- Do not fail when cleaning build folder
- Bumping up aws-sdk-go to enable IAM Roles for Service Account support in Kubernetes deployments
- xray.service: explicitly set ConfigurationDirectoryMode to 0755
- STS credentials are fetched from STS regional endpoint instead of global endpoint. If the configured region is disabled for the STS token, the credentials are fetched from primary regional endpoint in that AWS partition. The primary regional endpoint cannot be disabled for STS token.
- Updated AWS Go dependency to version 1.20.10
- Added debug log on request received for HTTP proxy server
- Added info log for the X-Ray service endpoint used by HTTP Proxy server
- Updated X-Ray service endpoint resolution for HTTP Proxy server
- Reconfiguring ring buffer channel size to number of buffers allocated to the daemon instead of fix 250 traces
- Removed allocating 64KB size to UDP socket connection. Now, the daemon relies on underlying OS default UDP receiver size for the UDP socket connection
- Updated readme about credential configuration: PR #21
- The daemon now serves as a proxy to the X-Ray SDK for API calls that are related to sampling rules. The proxy runs default on TCP port 2000 and relays calls to get sampling rules and report sampling statistics to X-Ray. The TCP proxy server address can be configured from command line using
t
flag or by usingcfg.yaml
version2
file. cfg.yaml
file version is changed to2
and has an extra attribute. The daemon supports version1
of cfg.yaml:
Socket:
# Change the address and port on which the daemon listens for HTTP requests to proxy to AWS X-Ray.
TCPAddress: "127.0.0.1:2000"
- Adds timestamp header
X-Amzn-Xray-Timestamp
to PutTraceSegments API calls made by the daemon - Adding support for configuring
ProxyAddress
through command line: PR #10 - AWS X-Ray Daemon source code supports Go Version 1.8 and later
- SystemD service file updates for Debian and Linux binaries: PR #3
- Added Travis CI: PR #7
- Updated service spec files for debian and linux binaries to wait for network to be available : PR #6
- Added more unit tests for
conn
package
- This version of the AWS X-Ray daemon fixes an issue where the daemon overrides the customer provided IAM role ARN configuration with the IAM role assigned to EC2 instance profile if a region wasn’t specified in the configuration. We recommend updating to the latest version at the earliest. The latest version of the daemon is available at https://docs.aws.amazon.com/xray/latest/devguide/xray-daemon.html
- Open sourced the X-Ray daemon project
- To not upload telemetry data if no traces are recorded
- The daemon logs error to stderr if it fails to read provided configuration file