Comparison route

Single service comparison

Back to main page

Observability

AWS X-Ray

AWS X-Ray is a distributed tracing service that collects and visualizes request-level telemetry across microservices, containers, serverless, and managed AWS workloads. It tracks end-to-end request paths via the X-Ray SDK and daemon, builds service maps and trace graphs, annotates spans, and integrates with CloudWatch for sampling, retention, search, and alerting on latency and error behavior.

AWS logo

AWS

Service information

AWS X-Ray iconAWS X-Ray

Shortname: X-Ray

Huawei equivalent shortnames: APM

Keywords: apm, tracing, latency

Differences vs Huawei

AWS X-Ray is a standalone tracing-as-a-service product centered on the X-Ray SDK/daemon and trace document model (segments, subsegments, annotations), with explicit sampling rules and CloudWatch-linked metrics. Huawei APM (APM 2.0) is a broader application performance management service built around the ICAgent (Java-centric) that auto-discovers applications, instruments frameworks without code changes, and exposes topology, transaction, JVM, slow-SQL, and Apdex analysis. X-Ray is SDK-driven and language-agnostic; APM is agent-driven with strongest coverage on Java workloads, so parity depends on runtime and instrumentation model.

Service boundary and integration surface differ. X-Ray natively traces Lambda, ECS/EKS, App Mesh, SQS, DynamoDB, and SDK-instrumented clients, exporting to S3/CW. Huawei APM integrates with AOM, CCE, ECS, and ELB and expects the application to run on Huawei compute with the ICAgent installed; cross-service traces spanning external/non-Huawei hosts are not a first-class supported path. Alerting, retention, and query in X-Ray flow through CloudWatch, whereas APM's alarm, retention, and analysis live within AOM/APM consoles, so query semantics and retention windows must be re-mapped rather than ported.

Operational responsibility and scaling model diverge. X-Ray sampling rules and groups are managed in AWS control plane and scale with regional ingestion capacity billed per trace ingested and scanned; you own SDK configuration and sampler tuning. Huawei APM scales through ICAgent collectors and AOM/APM backend capacity billed by node/APM instance and analyzed data volume; you own agent installation, component grouping, and collector health. Neither offers feature parity across the other's ecosystem, and there is no documented one-click or tool-assisted X-Ray-to-APM trace migration path.

Migration to Huawei

Assess telemetry scope before cutover. Inventory X-Ray groups, sampling rules, annotations, segments, downstream AWS service instrumentation (Lambda, SQS, DynamoDB), and CloudWatch alarm/dashboards tied to X-Ray metrics. Map each to Huawei APM equivalents (topology, transactions, JVM, slow-SQL, Apdex) and confirm APM agent support for your runtimes -- primarily Java on CCE/ECS -- before assuming parity. Where X-Ray traced non-Java or serverless workloads, plan alternative instrumentation or an AOM/CES log-based trace path, since APM does not claim equivalent coverage.

Re-instrument the application for the target. There is no supported tooling to convert AWS X-Ray SDK calls or trace documents into APM spans. Install the ICAgent on Huawei compute (CCE/ECS), define APM components and monitoring groups, and re-derive sampling logic through APM/AOM configuration rather than translating X-Ray sampling rules. Replace CloudWatch alert semantics with AOM alarm rules and re-build dashboards in AOM/APM. Treat trace ID propagation, baggage, and cross-service correlation as a redesign, not a port, and validate against your actual framework set.

Validate tracing fidelity and coverage before production. Replay representative traffic, compare X-Ray service maps and latency percentiles against APM topology and transaction views, and confirm end-to-end trace continuity across your service chain on Huawei. Verify that ICAgent collection overhead, JVM metrics, and slow-SQL analysis meet your latency and overhead thresholds. Confirm AOM alarm thresholds, retention periods, and audit/capture requirements satisfy compliance workflows previously enforced via X-Ray retention and CloudWatch.

Account for cost and operational model changes. X-Ray bills per trace ingested and per trace retrieved with CloudWatch-side alert execution; Huawei APM/AOM bills by node/APM instance, queried data volume, and alarm usage. Recalculate TCO using peak request volume, sampling rate, retention horizon, and any cross-region agent/backend traffic. CES and LTS may be required to close gaps for metric and log correlation that X-Ray handled through CloudWatch, so size the composed CES+LTS+APM+AOM footprint explicitly and do not assume a single-service swap.

Huawei Cloud logo

Huawei Cloud

Huawei equivalent service

Application Performance Management iconApplication Performance Management

Shortname: APM

General function: Observability

Application tracing and performance diagnostics.

Keywords: apm, tracing, performance