Metadata-Version: 2.4
Name: aws-durable-execution-sdk-python-otel
Version: 0.2.0
Summary: OpenTelemetry instrumentation for AWS Durable Execution SDK for Python
Project-URL: Documentation, https://github.com/aws/aws-durable-execution-sdk-python#readme
Project-URL: Issues, https://github.com/aws/aws-durable-execution-sdk-python/issues
Project-URL: Source, https://github.com/aws/aws-durable-execution-sdk-python
Author-email: AWS durable-execution-dev <durable-execution-dev@amazon.com>
License-Expression: Apache-2.0
Keywords: durable-execution,observability,opentelemetry,tracing
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.11
Requires-Dist: aws-durable-execution-sdk-python>=1.5.0
Requires-Dist: opentelemetry-api>=1.20.0
Requires-Dist: opentelemetry-exporter-otlp
Requires-Dist: opentelemetry-propagator-aws-xray
Requires-Dist: opentelemetry-sdk>=1.20.0
Description-Content-Type: text/markdown

# aws-durable-execution-sdk-python-otel

OpenTelemetry instrumentation for the [AWS Durable Execution SDK for Python](https://github.com/aws/aws-durable-execution-sdk-python).

> **Note:** v0.1.0 reserves the package name. Instrumentation lands in v0.2.0.

## Overview

This package will provide automatic OpenTelemetry tracing for durable execution workflows, giving you visibility into step execution, waits, retries, and overall workflow performance.

## Installation

```bash
pip install aws-durable-execution-sdk-python-otel
```

## Quick Start

```python
from aws_durable_execution_sdk_python_otel import __version__

print(__version__)
```

## Planned Features (v0.2.0)

- Automatic span creation for steps, waits, invokes, and child contexts
- Replay-aware tracing (distinguishes fresh executions from replays)
- Error recording with proper OTel status codes
- Configurable span attributes and naming

## Requirements

- Python >= 3.11
- `aws-durable-execution-sdk-python` >= 1.5.0
- `opentelemetry-api` >= 1.20.0
- `opentelemetry-sdk` >= 1.20.0

## License

Apache-2.0
