Skip to main content

Pulse Python SDK

Python 3.10+ FastAPI HTTP tracing and structured request logs for Pulse. This distribution is not currently published to PyPI. Install the wheel from your Pulse server through a normal pip requirements file:

pulse-observability @ https://pulse.example.com/sdk/python/pulse_observability-0.1.1-py3-none-any.whl
python -m pip install -r requirements.txt
from pulse_observability import instrument_fastapi

# After creating the existing FastAPI app, before serving requests:
instrument_fastapi(app)

Set PULSE_ENDPOINT and PULSE_SECRET_KEY before importing the app, plus OTEL_SERVICE_NAME and PULSE_ENVIRONMENT. Never place a project key in a requirements URL or in this package. Use a server address reachable from the machine or container doing the installation; prefer HTTPS for distribution.

Provides request traces, latency, status codes and redacted request logs. Does not automatically collect arbitrary Python logging, database calls, Pod resources, browser visitors or background jobs. Batching is in memory, so telemetry can be lost during an outage or forced shutdown. Business requests do not wait for export. Existing OpenTelemetry instrumentation must be integrated rather than instrumenting the app twice.

The source of the FastAPI integration is pulse_observability/fastapi.py. The Pulse guide builder also creates the legacy standalone download from this source. The adjacent legacy pulse.py event client is not part of this wheel.

FastAPI JSON error responses supply error.message from detail/message. Standard validation errors are grouped into bodyErrors, queryErrors and paramErrors. Input values require the corresponding PULSE_LOG_BODY_FIELDS, PULSE_LOG_QUERY_PARAMS or PULSE_LOG_PATH_PARAMS allowlist. Passwords, pw, passphrases and tokens are redacted even when allowed. Error-response inspection is limited to 16 KiB; full responses and validation context are never exported.

Metadata

Release files for pulse-observability 0.1.1

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

Built distribution (wheel)

Table of built distributions (wheels) for pulse-observability 0.1.1
File Interpreter ABI Platform Actions
pulse_observability-0.1.1-py3-none-any.whl Python 3 none any Details for pulse_observability-0.1.1-py3-none-any.whl

Release files / pulse_observability-0.1.1-py3-none-any.whl

Download URL pulse_observability-0.1.1-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c850a1e529df763a6f5fc5d667851ccb41487a93585316f9235edda85e8a29f1
BLAKE2b-256 checksum
How to use checksums
053f098aa4de807a067c69ce51badf5f3de9088670bff9dc0e76148cd5ca8915
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Security for pulse-observability 0.1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

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