OPS04-BP05Operational ExcellenceOPS41 of 5 practices publishedReference content

Implement distributed tracing

Framework question: How do you implement observability in your workload?

Risk if not established
High
Framework verified
14 Nov 2026

AWS Well-Architected Framework — OPS04-BP05 Implement distributed tracing

Executive summary

Why this practice matters

Instrument every component that handles a request so that its full path through the system can be followed in one view. Trace data shows where requests slow down or fail, guides optimisation, and supports alerts when outcomes in the monitoring plan are at risk.

Business impact

  • Speeds up diagnosis by showing exactly which component failed or slowed.
  • Reveals gradual performance degradation, not just outright errors.
  • Directs optimisation effort to the components that matter most.
  • Improves user experience by basing decisions on real request behaviour.

Assign

Accountable and responsible roles

Responsibilities are held separately from roles, so accountability type and typical roles are stated explicitly.

ResponsibilityAccountability type

Instrument services

Add tracing to each service and dependency call, and keep it in place as code changes.

Typical roles: Software Engineer, DevOps Engineer, Software Engineer, DevOps Engineer

responsible

Analyse traces and set alerts

Review trace data regularly, identify bottlenecks and failures, and maintain alerts tied to the monitoring plan.

Typical roles: SRE / Reliability Engineer, Operations Engineer, SRE / Reliability Engineer, Operations Engineer

responsible

Ensure end-to-end coverage

Make sure every component of the workload is traced and that gaps are prioritised for fixing.

Typical roles: Service Owner, Team Lead / Manager, Service Owner, Team Lead / Manager

accountable

Assessment

Assessment and evidence state

States describe how far the practice has moved from intent to something continuously validated.

  1. 0

    Not Assessed

    No documented evaluation of the practice has been performed.

    Indicators

    • No one has examined whether requests can be followed across the workload's components.
  2. 1

    Not Implemented

    The practice is absent or applied only ad hoc.

    Indicators

    • Requests cannot be followed across service boundaries.
    • Diagnosis relies on searching separate logs.
  3. 2

    Partially Implemented

    The practice is applied to some workloads or components, with known gaps.

    Indicators

    • Some services are traced, but the request path has gaps.
    • Trace data is used mainly for errors during incidents.
  4. 3

    Implemented

    The practice is applied consistently across defined scope, with evidence.

    Indicators

    • All components on key request paths emit traces into one view.
    • Latency and errors are reviewed and trace-based alerts are in place.
  5. 4

    Continuously Validated

    The practice is regularly tested and improved from measured results.

    Indicators

    • Tracing coverage is checked whenever services change.
    • Trace reviews regularly lead to measured latency improvements.

Assessment dimensions

  • Instrumentation coverage

    Practice-specific

    Absent · Partial · Operational and verified

  • Unified view

    Practice-specific

    Absent · Partial · Operational and verified

  • Latency and error analysis

    Practice-specific

    Absent · Partial · Operational and verified

  • Alerting from traces

    Practice-specific

    Absent · Partial · Operational and verified

Caution

Do not award maturity for a tracing tool being installed alone. Check that every component on key request paths emits traces, that latency as well as errors is analysed, and that trace data has driven alerts or fixes.

Standard

What you should be able to demonstrate

Statements a reviewer should be able to confirm from evidence, not from intent.

  • All services, data stores and external calls on a request path send trace data.
  • Traces from every component can be viewed together in a single map or timeline.
  • Latency and errors are both analysed from traces.
  • Alerts fire when trace data shows monitoring-plan outcomes are at risk.
  • Tracing coverage is revisited whenever services are added or changed.

Trade-offs to hold in view

  • Tracing adds some overhead to requests and storage costs for trace data.
  • Instrumenting older services may need code changes and testing.
  • Sampling reduces cost but can miss rare problems.

Assess

Questions to ask

Each question exposes the difference between an intention and an operating practice.

  • discovery

    Which components on our main customer request path do not currently emit trace data?

    Finds the gaps that break the end-to-end view.

    Usually asked by: Software Engineer, SRE / Reliability Engineer

  • challenge

    If response times rose slowly over a month without errors, would our tracing and alerts show it?

    Tests whether latency degradation is watched, not just failures.

    Usually asked by: SRE / Reliability Engineer, DevOps Engineer

  • evidence

    Can we show a recent incident or optimisation where trace data identified the responsible component?

    Requires proof that traces are used, not just collected.

    Usually asked by: Software Engineer, Operations Engineer

  • executive

    How long does it take us to find which part of the system is causing a customer-facing slowdown?

    Links tracing to time-to-diagnose and customer impact.

    Usually asked by: Service Owner, Technology Executive

Evidence

Required and expected evidence

Reusable evidence definitions held once in the evidence library and referenced by every practice that relies on them. Each links to what good evidence looks like and to worked examples.

EVD-ARCH-003coreReusable

Dependency / Coupling View

A current view of runtime, data, deployment and external dependencies that makes service coupling and failure propagation visible.

Shows the components and calls on each request path, against which tracing coverage can be checked.

Minimum expected content

  • Major services/components in scope
  • Inbound and outbound dependencies
  • Interaction type such as synchronous, asynchronous, shared data or batch
  • Critical request/data-flow dependencies
  • External/third-party dependencies where material
  • Shared databases or schemas
  • Coordinated deployment/change dependencies
  • Known circular, high-fan-out or high-latency dependencies
  • Runtime/trace evidence source where available
  • Known failure-propagation or blast-radius concerns
  • Owner and last reviewed date

Anti-patterns

  • Only direct HTTP calls are captured while shared databases and deployment coupling are ignored
  • The map is manually drawn once and never validated against runtime behaviour
  • High fan-out or circular dependencies are visible but never assessed
  • Every dependency is treated as equally critical
  • Trace visualisations are presented without interpretation of reliability or change impact
  • The map omits third-party or platform dependencies that can fail critical flows

Review: Keep aligned with material architecture changes and refresh from runtime/deployment evidence where practical.

EVD-PERF-001supportingReusable

Performance Benchmark Plan & Results

A repeatable benchmark definition and result set for a workload component or architecture option, including representative scenarios, environment, metrics, repeated runs, findings and resulting architecture decisions.

Shows latency per component measured from traces and how it has changed after optimisation.

Minimum expected content

  • Benchmark objective and decision/question being informed
  • Relevant performance/NFR target or user requirement
  • Baseline implementation/configuration
  • Candidate implementation/configuration being tested
  • Representative scenario or operation mix
  • Test environment and resource configuration
  • Dataset/input size and pre-warm/setup conditions
  • Metrics and KPIs such as latency, throughput, utilisation or error rate
  • Tooling and test procedure
  • Number/timing of repeated runs and observed variance
  • Raw/result summary and statistical treatment appropriate to the test
  • Bottlenecks or constraints identified
  • Comparison with baseline and requirement
  • Architecture recommendation/action resulting from the findings
  • Retest result after material adjustment where applicable
  • Date, owner and conditions requiring rerun

Anti-patterns

  • A vendor benchmark is used as proof without matching workload characteristics
  • One run is treated as conclusive
  • The test environment differs materially between compared options
  • Only average latency is reported for a tail-latency-sensitive workload
  • Benchmarking happens with no performance requirement or decision question
  • Results are cherry-picked after the preferred option is selected
  • No pre-warm or variance control exists
  • The benchmark is used as a substitute for load testing the complete workload when concurrency/system behaviour matters

Review: Create for material performance-sensitive architecture choices and rerun when the tested component, configuration, workload profile or performance requirement changes materially.

Diagnosis

Common evidence gaps

  • Patchy instrumentation

    Only some services emit traces, so the request path breaks at the uninstrumented ones.

  • Errors only

    Teams look at failures and ignore rising latency or slow degradation.

  • Traces nobody reads

    Data is collected but not reviewed or used to drive improvement.

  • Coverage drift

    New or changed services are deployed without tracing, so the end-to-end view slowly erodes.

Implementation

Implementation guidance

Inventory what needs instrumenting

List every component involved in handling requests, including services, databases and external APIs, before choosing tooling.

Instrument consistently

Use a common tracing standard, such as OpenTelemetry, so every service emits compatible trace data and gaps are easy to spot.

Combine with user monitoring

Link traces to real user monitoring and synthetic tests so that real and simulated user journeys can be followed end to end.

Review traces with developers

Hold regular reviews of trace data to find patterns, anomalies, bottlenecks and inefficient calls between services.

Alert on trace signals

Set alarms for unusual patterns or extended latency so issues are addressed before users report them.

Measure

Measurements

  • Share of request-path components emitting trace data
  • Time to identify the faulty component during incidents
  • Latency per component on key request paths against baseline
  • New or changed services deployed with tracing in place

Related

Outcomes and practices

Business outcomes

    Practices