authweave-otel
OpenTelemetry API-only security observability facade for the AuthWeave authentication stack.
authweave-otel depends only on opentelemetry-api and authweave-core. It
never installs an SDK, exporter, sampler, propagator, or service.name. Without
a configured SDK every span and metric is a no-op, so instrumentation is safe and
free by default.
The application owns the TracerProvider/MeterProvider, sampling, export, and
retention. Construct AuthWeaveTelemetry with global or explicit providers and
pass it into your AuthWeave adapter configuration. LitestarAuth creates only
INTERNAL child security spans inside the server span produced by normal ASGI
instrumentation; it never creates a second HTTP span:
from authweave_otel import AuthWeaveTelemetry
from litestar_auth import LitestarAuthConfig
telemetry = AuthWeaveTelemetry()
config = LitestarAuthConfig(
# normal required configuration omitted
observer=telemetry,
)
The same observer can be passed to the HTTP-signature/webhook verifier and
webhook sender constructors. verify(..., links=(TraceCorrelation(...),)) and
send(..., links=...) attach retry/async causal links without accepting trace
context as identity. Direct operation_span() and metric methods remain
available for application-owned operations.
Privacy and abuse resistance
- Attribute keys are allowlisted (
authweave.*catalog only). - Values are truncated to 64 characters and redacted when they match secret canaries (tokens, cookies, PEM headers, payment fragments).
- Unknown reason codes collapse to
_OTHERso hostile input cannot grow label cardinality. - Baggage extraction/forwarding defaults to off
(
DEFAULT_TRACE_CONTEXT_POLICY); remote parents are never trusted identity. - Telemetry never participates in authentication, authorization, replay, or idempotency decisions. Collector/exporter outage must not change auth results.
- Workload
SecurityEventvalues receive the activetrace_id/span_idfor lookup only. The mandatory event callback remains the durable audit channel.
Catalog and reference stack
Span names, metric names, units, and attribute keys are a versioned catalog. See
authweave_otel.catalog; renames and cardinality growth are breaking changes.
A non-production Collector/Prometheus/Tempo/Grafana stack lives at
docker/reference/observability/. Run sh docker/reference/observability/verify.sh
for the synthetic smoke test and golden Prometheus name checks after the pinned
OTel→Prometheus translation.
Site docs: AuthWeave home.
Metadata
Release files for authweave-otel 8.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| authweave_otel-8.0.2.tar.gz | 10.4 kB | With provenance | Details for authweave_otel-8.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| authweave_otel-8.0.2-py3-none-any.whl | Python 3 | none | any | Details for authweave_otel-8.0.2-py3-none-any.whl |
Total release size: 22.9 kB
Release files / authweave_otel-8.0.2.tar.gz
| Download URL | authweave_otel-8.0.2.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14cd941664e5f534fa70a723400e02dd77915a05b1a96c4abe6a34b2fd298cc3
|
|
BLAKE2b-256 checksum How to use checksums |
e8b6aa419cb74c7dc71df582b5b4be1d89519c6eea1840435324c4fd541083a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.
Transparency logRelease files / authweave_otel-8.0.2-py3-none-any.whl
| Download URL | authweave_otel-8.0.2-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c55c5e491fd9d20ab60ebc7ea6ff66e7f5d28adc72e7d963644033f119ef76f
|
|
BLAKE2b-256 checksum How to use checksums |
fc05cf9606855fcfb8618f4ce2057f6b173c3277f2eecf807bc6f570a5444f55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.
Transparency logSecurity for authweave-otel 8.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for authweave_otel-8.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.