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

Metadata

Release files for pulse-observability 0.1.0

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.0
File Interpreter ABI Platform Actions
pulse_observability-0.1.0-py3-none-any.whl Python 3 none any Details for pulse_observability-0.1.0-py3-none-any.whl

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

Download URL pulse_observability-0.1.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f92f2ae128ee13e7253193ddb7d1ab9bc3e78b34de49347e39b303f99390171
BLAKE2b-256 checksum
How to use checksums
ba28cc053a1f8fb95d8fdfa0d322697efb135abb12c378b14dc413d1dc510355
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for pulse-observability 0.1.0

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