AWS X-Ray
aws.amazon.com
- Free plan
- Windows
- macOS
- Linux
- Web
- API
- Self-hosted
What AWS X-Ray is
AWS X-Ray collects application request data so teams can inspect traces and look for issues or optimization opportunities. A trace can display request and response details alongside calls to AWS resources, microservices, databases and web APIs. X-Ray also builds a map of clients, front-end services and backend services to help locate bottlenecks and latency spikes. Applications can send trace data through X-Ray SDKs or APIs, AWS Distro for OpenTelemetry, or CloudWatch Application Signals. AWS integrations can add tracing headers, send data, run the X-Ray daemon or instrument requests. For Lambda, the daemon can record invocation details, while the SDK can trace outgoing calls and add annotations and metadata. The SDK samples requests by default, and sampling rules can be configured. X-Ray retains trace data for 30 days, encrypts it at rest and uses AWS Identity and Access Management for access control. AWS lists monthly free allowances for recorded and retrieved or scanned traces; additional usage is billed by usage. From February 25, 2026, SDK and daemon releases are limited to security fixes, and AWS recommends migration to OpenTelemetry.
Who it suits
X-Ray suits teams tracing requests across AWS services and other application components. It may be useful for teams that want service maps, configurable sampling and trace-level details.
Good to know, and what to watch
- Trace views include request and response details
- Maps clients and application services
- Supports X-Ray and OpenTelemetry instrumentation options
- Trace data is retained for 30 days
- Encrypts traces at rest
- Trace data is retained for 30 days
- SDK and daemon releases are limited to security fixes
- Additional usage is billed by usage
Plans
Every plan and priceAWS X-Ray pay-as-you-go
Free tier
Usage above free tier
From $5
Getting started
- Open the AWS X-Ray website
- Use the cloud service through its web or API access
- Instrument applications with X-Ray SDKs, X-Ray APIs, AWS Distro for OpenTelemetry, or CloudWatch Application Signals
- Configure AWS integrations or run the X-Ray daemon on Linux, Windows, or macOS
- Set sampling rules and connect Lambda tracing where needed
Limits to check
The free allowance covers 100,000 traces recorded monthly and the first 1,000,000 traces retrieved or scanned monthly. Usage beyond those allowances is billed by usage, and trace retention is 30 days.
The verdict
AWS X-Ray provides trace inspection and service maps, with several ways to instrument applications. Teams using its SDK or daemon should account for AWS’s stated release limits and migration recommendation.
Questions people ask
Does AWS X-Ray have a free plan?
Yes. The pay-as-you-go plan includes 100,000 recorded traces per month and the first 1,000,000 traces retrieved or scanned per month free.
What platforms does AWS X-Ray support?
It supports API, Linux, macOS, web, and Windows access. The X-Ray daemon is available for Linux, Windows, and macOS.
How can applications send trace data?
Applications can use X-Ray SDKs, X-Ray APIs, AWS Distro for OpenTelemetry, or CloudWatch Application Signals.
How long are traces kept?
X-Ray retains trace data for 30 days.
Does X-Ray support OpenTelemetry?
Yes. AWS lists OpenTelemetry support and recommends migration to OpenTelemetry as SDK and daemon releases move to security fixes only.
What the maker publishes
- Access control
- AWS Identity and Access Management controls access to X-Ray at the API level, and X-Ray supports identity-based and resource-based policies. source
- API Gateway integration
- API Gateway supports active and passive tracing, applies sampling rules and adds a gateway-stage node to the service map. source
- AWS integrations
- AWS service integrations can add tracing headers, send trace data, run the X-Ray daemon, or instrument requests; examples include AWS Lambda and AWS Distro for OpenTelemetry. source
- Company founding
- LinkedIn says AWS launched in 2006 as a provider of infrastructure web services. source
- Company size
- LinkedIn lists Amazon Web Services with more than 10,001 employees and Seattle, Washington as headquarters. source
- Daemon licence
- The open-source X-Ray daemon repository is licensed under Apache 2.0. source
- Daemon platforms
- The X-Ray daemon is available for Linux, Windows, and macOS. source
- Daemon platforms
- AWS publishes daemon executables or installers for Linux, macOS and Windows, plus container images. source
- Documentation depth
- The API reference was updated October 7, 2026 and documents trace-management and service-map operations. source
- Encryption
- X-Ray always encrypts traces and related data at rest and can use an AWS KMS key, including a customer-managed key. source
- Founded
- 2006 source
- Instrumentation
- Applications can send incoming, outgoing and in-application event data with metadata, often through configuration changes or SDKs. source
- Instrumentation options
- Applications can send trace data to X-Ray using X-Ray SDKs, X-Ray APIs, AWS Distro for OpenTelemetry, or CloudWatch Application Signals. source
- Integration modes
- AWS integrations can provide active instrumentation, passive instrumentation, request-header propagation and daemon tooling. source
- Lambda integration
- Lambda supports active and passive X-Ray instrumentation and adds Lambda service and function nodes to trace maps. source
- Lambda tracing
- AWS Lambda can run the X-Ray daemon and record invocation details, while the X-Ray SDK can add outgoing-call tracing, annotations, and metadata. source
- Legal maker
- The legal entity is Amazon Web Services, Inc., headquartered at 410 Terry Avenue North, Seattle, Washington, with a creation date of May 3, 2006. source
- Limit: G2 learning and price
- G2 reviewers mention a learning curve, occasional inaccurate analysis or freezing, and high price concerns. source
- Limit: Gartner usability
- Gartner feedback repeatedly describes the product as unintuitive and cites weak debugging intuitiveness. source
- Limit: Software Advice reliability
- Software Advice reviews mention interface glitches, intermittent application errors, delayed output and a limited six-hour view in one report. source
- Migration direction
- AWS recommends moving instrumentation to OpenTelemetry solutions for continued feature development and broader ecosystem support. source
- OpenTelemetry integration
- AWS Distro for OpenTelemetry can send correlated metrics and traces to CloudWatch, X-Ray, OpenSearch Service and Managed Prometheus. source
- Praise: G2 AWS integration
- G2 reviewers repeatedly praise ease of use, AWS integration and faster application debugging. source
- Praise: Gartner monitoring
- Gartner reviewers praise monitoring otherwise difficult application components and easy initial setup. source
Checked against the maker's pages on 15 Oct 2026.