Metadata-Version: 2.4
Name: owlpane
Version: 0.1.8
Summary: Thin OpenTelemetry bootstrap for Owlpane ingest
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: opentelemetry-api>=1.28.0
Requires-Dist: opentelemetry-sdk>=1.28.0
Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.28.0
Requires-Dist: opentelemetry-instrumentation-system-metrics>=0.49b0
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == "dev"

# owlpane (Python)

Thin SDK: resolves env like `@owlpane/node`, exports traces via OpenTelemetry.

```bash
pip install -e .
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.example.com
export OWLPANE_INGEST_KEY=owl_ing_…
export OTEL_SERVICE_NAME=my-api
```

```python
from owlpane import shutdown, start

start()  # traces + process metrics (disable metrics: OWLPANE_RUNTIME_METRICS=0)
# … application …
shutdown()
```

Runtime boards: [Runtime telemetry](../../docs/runtime-telemetry.md).

## Parity with `@owlpane/node` (P-030)

| Feature | Python | Node |
| --- | --- | --- |
| OTLP traces | Yes | Yes |
| Runtime metrics | Yes (`OWLPANE_RUNTIME_METRICS`) | Yes |
| CPU profiling spans | Opt-in env | `profiling: true` |
| Log correlation | OpenTelemetry logs | Built-in pino hook |
| Browser RUM | — | `@owlpane/browser` |

Release CI: tag `sdk-v*` runs [`.github/workflows/publish-sdk.yml`](../../.github/workflows/publish-sdk.yml) (P-031).
