Shared PolicyEngine observability runtime for logs, timings, metrics, and OpenTelemetry.
Project description
policyengine-observability
Shared PolicyEngine observability runtime for fail-open local timings, structured logs, OpenTelemetry traces, and OpenTelemetry metrics.
The package intentionally keeps framework support in adapters:
policyengine_observability.adapters.flaskpolicyengine_observability.adapters.fastapipolicyengine_observability.integrations.httpx
OpenTelemetry support is installed and enabled by default. Timing and
structured logging run even without an OTLP collector; when no endpoint is
configured, spans and metrics stay in-process while logs still receive trace
context. Set OTEL_ENABLED=false or OBSERVABILITY_OTEL_ENABLED=false to opt
out. Configure OTEL_EXPORTER_OTLP_ENDPOINT to export traces and metrics.
Release workflow
Changes should include a Towncrier fragment in changelog.d/. Pull requests
run changelog, Ruff, and coverage checks. Pushes to main run the same gates,
then publish a versioning commit that builds the changelog and bumps
pyproject.toml. That versioning commit publishes the package to PyPI through
trusted publishing, creates a matching git tag, and opens a GitHub release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file policyengine_observability-0.4.1.tar.gz.
File metadata
- Download URL: policyengine_observability-0.4.1.tar.gz
- Upload date:
- Size: 84.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7bdb804819d147e2cd0365fe8517fe6d76d8228d6e6c93c6450758262f10d46
|
|
| MD5 |
48543eae961dca67d1be30d7a2b32ff2
|
|
| BLAKE2b-256 |
9c5bfb6f6c1323ed985c2fefccf95131135caf2fa4e01ad620d2a1238dccc351
|
Provenance
The following attestation bundles were made for policyengine_observability-0.4.1.tar.gz:
Publisher:
push.yml on PolicyEngine/policyengine-observability
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
policyengine_observability-0.4.1.tar.gz -
Subject digest:
b7bdb804819d147e2cd0365fe8517fe6d76d8228d6e6c93c6450758262f10d46 - Sigstore transparency entry: 1930897722
- Sigstore integration time:
-
Permalink:
PolicyEngine/policyengine-observability@219b947256491006c907513b1682cee20267059f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/PolicyEngine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
push.yml@219b947256491006c907513b1682cee20267059f -
Trigger Event:
push
-
Statement type:
File details
Details for the file policyengine_observability-0.4.1-py3-none-any.whl.
File metadata
- Download URL: policyengine_observability-0.4.1-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc312fadc8ca1ee22f464d8d2da96486cd08394c174d18e829682b96cfe51945
|
|
| MD5 |
53919a1e0682c8c1f45b4c3945af0123
|
|
| BLAKE2b-256 |
2fb05a7853f1a6aec2ef9725c2a09e5153e189f5f9e14eac71398b548c703e41
|
Provenance
The following attestation bundles were made for policyengine_observability-0.4.1-py3-none-any.whl:
Publisher:
push.yml on PolicyEngine/policyengine-observability
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
policyengine_observability-0.4.1-py3-none-any.whl -
Subject digest:
fc312fadc8ca1ee22f464d8d2da96486cd08394c174d18e829682b96cfe51945 - Sigstore transparency entry: 1930897820
- Sigstore integration time:
-
Permalink:
PolicyEngine/policyengine-observability@219b947256491006c907513b1682cee20267059f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/PolicyEngine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
push.yml@219b947256491006c907513b1682cee20267059f -
Trigger Event:
push
-
Statement type: