$npx skillfedfor your agent

opentelemetry-propagator-aws-xray

AWS X-Ray Propagator for OpenTelemetry

Worth itPyPI MonitoringReleased Aug 202412.0M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — opentelemetry_propagator_aws_xray-1.0.2-py3-none-any.whl
v1.0.2 · released 2024-08-05 · Python >=3.8 · 1 runtime deps: opentelemetry-api

Yes. This is a production-stable, actively maintained library with no known vulnerabilities, low install friction, and a permissive license. Install it if you are using OpenTelemetry in an AWS environment and need X-Ray trace propagation. Note the documentation caveat: ensure X-Amzn-Trace-Id headers include Sampled=1 to enable child span sampling.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires opentelemetry-api to be installed; Python 3.8 or later.
  • Low friction installation with a single runtime dependency (opentelemetry-api).
  • Actively maintained with recent commits and production-stable status.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache Software License (permissive), allowing commercial and private use without restriction.

last release 2024-08-05 (739 days) · last repo commit 2026-08-14 · 1,086 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,953,783 downloads/mo, #1,351 on PyPI

Verify before relying

pip install opentelemetry-propagator-aws-xray

from opentelemetry.propagate import set_global_textmap
from opentelemetry.propagators.aws import AwsXRayPropagator

set_global_textmap(AwsXRayPropagator())
  • Whether X-Amzn-Trace-Id headers are automatically set to Sampled=1 or require manual configuration in all deployment scenarios.
  • Performance impact when propagating traces across high-volume AWS service calls.
Same gist for agents: .md · .json

What it is and what it does

This package provides an OpenTelemetry propagator that handles the AWS X-Ray trace context format, specifically the X-Amzn-Trace-Id header. It allows traces initiated in one AWS service to be correctly linked to downstream services by injecting and extracting tracing context in the format X-Ray expects.

The propagator integrates with OpenTelemetry's global propagation system, either via environment variable (OTEL_PROPAGATORS=xray) or by explicitly setting it in code. It is a thin adapter layer between OpenTelemetry's span context model and AWS X-Ray's header format, with no external dependencies beyond opentelemetry-api itself.

Use it for

  • Trace requests flowing through multiple AWS Lambda functions, ECS tasks, or EC2 instances using OpenTelemetry.
  • Correlate logs and metrics with X-Ray traces when using AWS CloudWatch and X-Ray together.
  • Export OpenTelemetry spans to AWS X-Ray for visualization and analysis of distributed request flows.
  • Integrate on-premises or third-party services into an AWS X-Ray tracing pipeline via OpenTelemetry.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is a production-stable, actively maintained library with no known vulnerabilities, low install friction, and a permissive license. Install it if you are using OpenTelemetry in an AWS environment and need X-Ray trace propagation. Note the documentation caveat: ensure X-Amzn-Trace-Id headers include Sampled=1 to enable child span sampling.

Install

opentelemetry-propagator-aws-xray on PyPI

Before you install

Low friction installation with a single runtime dependency (opentelemetry-api). Actively maintained with recent commits and production-stable status.

Requires opentelemetry-api to be installed; Python 3.8 or later.

License in practice

Licensed under Apache Software License (permissive), allowing commercial and private use without restriction.

Quickstart

pip install opentelemetry-propagator-aws-xray

from opentelemetry.propagate import set_global_textmap
from opentelemetry.propagators.aws import AwsXRayPropagator

set_global_textmap(AwsXRayPropagator())

Verify before relying

  • Whether X-Amzn-Trace-Id headers are automatically set to Sampled=1 or require manual configuration in all deployment scenarios.
  • Performance impact when propagating traces across high-volume AWS service calls.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
opentelemetry-api
MaintenanceActively maintained 739 days since the last release
Last repo commit
First released
Downloads11,953,783 / month, #1,351 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: opentelemetry_propagator_aws_xray-1.0.2-py3-none-any.whl

Tags

Capabilities
aws x-ray tracingopentelemetry propagatordistributed tracing awstrace context propagationx-ray trace headeropentelemetry aws integration
Topics
distributed-tracingaws-integrationobservability

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “aws x-ray tracing”

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.

Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.

Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.

Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also aws-xray-sdk · opentelemetry-propagator-gcp · opentelemetry-sdk-extension-aws · opentelemetry-propagator-ot-trace · opentelemetry-propagator-jaeger · opentelemetry-propagator-b3 · opentelemetry-instrumentation-boto · opentelemetry-instrumentation-remoulade · azure-core-tracing-opentelemetry · opentelemetry-processor-baggage