Metadata-Version: 2.4
Name: metta-otel
Version: 0.9.3
Summary: A MeTTa reduction trace as OpenTelemetry spans, and its counters as metrics
License-Expression: Apache-2.0
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Science/Research
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: pymetta==0.9.3
Requires-Dist: opentelemetry-api>=1.30
Provides-Extra: test
Requires-Dist: opentelemetry-sdk>=1.30; extra == "test"

# metta-otel

A MeTTa reduction trace as OpenTelemetry spans, and its counters as metrics.

`pymetta` names no third-party library. This package is registers nothing; it CALLS the seat's `observe` service, which holds the engine's one trace session, and the seat
finds it exactly as it finds a package written by somebody else: through the
`metta.extensions` entry point, loaded at the first dispatch that has no answer
without it, or through `import metta_otel`, whose module body registers the same
rows.

```sh
pip install metta-otel          # or: pip install 'pymetta[otel]'
```

Its tests are in `tests/`, and they run in the workspace suite:

```sh
sh extensions/python/test.sh ext/metta-otel
```
