Skip to main content

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.flask
  • policyengine_observability.adapters.fastapi
  • policyengine_observability.integrations.httpx

OpenTelemetry imports are lazy. Timing and structured logging can run without an OTel backend; exporting traces/metrics is opt-in through configuration.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

policyengine_observability-0.4.0.tar.gz (83.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

policyengine_observability-0.4.0-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file policyengine_observability-0.4.0.tar.gz.

File metadata

File hashes

Hashes for policyengine_observability-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0e256aeec0b2c6b3744dc92c3ef67b238f689fd940a219561e7ba5f47861c47d
MD5 3ffaba996a6a6507bbf4fd563d5c0e7c
BLAKE2b-256 817462c5b7f21fc89fd3fd3a5f31057513efdf9183ea9579be9c560fd2b984cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for policyengine_observability-0.4.0.tar.gz:

Publisher: push.yml on PolicyEngine/policyengine-observability

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file policyengine_observability-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for policyengine_observability-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41b7bbe3bb2c9e7665b30c57273794f4d585a0367d09e73f82f7a7d1e0b23648
MD5 4d9dfad46db355809811436e5f8b8ebb
BLAKE2b-256 9082e5c95b8165958c911a16f4237c26b883d0493645d04c0ea2abe1ac179cb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for policyengine_observability-0.4.0-py3-none-any.whl:

Publisher: push.yml on PolicyEngine/policyengine-observability

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page