Metadata-Version: 2.4
Name: opentelemetry-instrumentation-taskflow
Version: 0.3.0
Summary: OpenStack taskflow instrumentation for OpenTelemetry
Author-email: Pham Le Gia Dai <daipham3213@gmail.com>
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.10
Requires-Dist: opentelemetry-api
Requires-Dist: opentelemetry-instrumentation
Requires-Dist: opentelemetry-semantic-conventions
Requires-Dist: opentelemetry-util-http
Provides-Extra: instruments
Requires-Dist: taskflow; extra == 'instruments'
Description-Content-Type: text/markdown

# OpenTelemetry TaskFlow Instrumentation

OpenStack TaskFlow instrumentation for OpenTelemetry.

It records every `execute`/`revert` call on a `taskflow.task.Task` as a span
named `taskflow.task.<method>`, annotated with the task's class, method and
name. Because concrete tasks override `execute`/`revert`, the instrumentor wraps
`Task.__getattribute__` so those overrides are traced wherever they are defined.

## Usage

```python
from opentelemetry.instrumentation.taskflow import TaskflowInstrumentor

TaskflowInstrumentor().instrument()
```
