Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

cryptography-suite-opentelemetry

OpenTelemetry metrics and span events for cryptography-suite, the policy-driven envelope encryption SDK. Pre-release; not independently audited.

Install

python -m pip install "cryptography-suite-opentelemetry[otel]"

Use

from opentelemetry import metrics, trace

from cryptography_suite import Protector
from cryptography_suite.audit.chain import AuditChain
from cryptography_suite.audit.fanout import FanOutAuditSink
from cryptography_suite_opentelemetry import OpenTelemetryAuditSink

telemetry = OpenTelemetryAuditSink(
    metrics.get_meter("payments"),
    span_source=trace.get_current_span,  # optional span events
)
protector = Protector(
    ...,
    audit_sink=FanOutAuditSink(
        AuditChain(writer, signing_key, chain_id="prod.payments"), telemetry
    ),
)

You pass your Meter; the package does not import OpenTelemetry itself.

Signals

Signal Kind Attributes
cryptosuite.operations Counter of completed operations cryptosuite.operation, cryptosuite.outcome, cryptosuite.provider_id, error.type
cryptosuite.operation.duration Histogram, seconds the same
cryptosuite.<operation>.<outcome> Span event on the current span the same, plus cryptosuite.operation_id and cryptosuite.policy_id
  • Metric attributes are low-cardinality: no operation, event, key, or envelope identifiers.
  • Nothing secret is recorded: the sink sees only the allowlisted, redacted cs-audit/1 event fields.
  • FanOutAuditSink delivers each event to every sink even if one fails, so a metrics outage never costs a signed audit record.

Documentation

Metadata

Release files for cryptography-suite-opentelemetry 4.0.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cryptography-suite-opentelemetry 4.0.0rc1
File Size Uploaded Provenance Actions
cryptography_suite_opentelemetry-4.0.0rc1.tar.gz 3.8 kB With provenance Details for cryptography_suite_opentelemetry-4.0.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cryptography-suite-opentelemetry 4.0.0rc1
File Interpreter ABI Platform Actions
cryptography_suite_opentelemetry-4.0.0rc1-py3-none-any.whl Python 3 none any Details for cryptography_suite_opentelemetry-4.0.0rc1-py3-none-any.whl

Total release size: 8.3 kB

Release files / cryptography_suite_opentelemetry-4.0.0rc1.tar.gz

Download URL cryptography_suite_opentelemetry-4.0.0rc1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
afa979e7fa34e14be32b849d61accf8c00c4b561336457a6f9da4f6305b7eb13
BLAKE2b-256 checksum
How to use checksums
a0e2a32c388d7b65b188466ea218ce6e3045fb75b03cff8feffa8eba8f85bf4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / cryptography_suite_opentelemetry-4.0.0rc1-py3-none-any.whl

Download URL cryptography_suite_opentelemetry-4.0.0rc1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40b70bccb9d1087adcf8415b4af2928d97f2de4e1adc55936275801b23370168
BLAKE2b-256 checksum
How to use checksums
f425a33c3255a6779ea66f2e811ddfcdfa5422890aac11715e953e24486b1d59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Security for cryptography-suite-opentelemetry 4.0.0rc1

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.

Select from 2 files

Attestation for cryptography_suite_opentelemetry-4.0.0rc1.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 Dec 1, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page