Skip to main content

Memory Analyzer

Memory Analyzer Release Pipeline Status Coverage

A FastPluggy plugin for profiling per-request memory usage and monitoring system resources.

Features

  • PSUtil system dashboard — process list, thread detail, current heap analysis
  • Endpoint memory tracking — per-request Pympler snapshots with delta/duration stats
  • Configurable watchlist — select specific endpoints to profile via CRUD API, with auto-suggest from registered routes
  • Metrics export — exposes profiling stats to the metrics aggregator for endpoints flagged with export_to_metrics
  • TTL eviction — samples older than a configurable threshold are automatically discarded
  • Pure ASGI middleware — lightweight middleware (__call__) without BaseHTTPMiddleware overhead

Configuration

Settings persist via BaseDatabaseSettings (env prefix: FP_MEMORY_):

Setting Default Description
sampling_rate 0.15 Fraction of requests to sample when watchlist is empty
debug_header X-Debug-Mem Header name to force a snapshot (1 or true)
stats_ttl_hours 24 Discard samples older than this (hours)

Installation

pip install -e ".[dev]"

Development

pytest tests/

Documentation

See docs/endpoint-watchlist.md for watchlist API, metrics export, and configuration details.

Metadata

Release files for fastpluggy-memory-analyzer 0.0.16

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

Source distribution (sdist)

Source distribution for fastpluggy-memory-analyzer 0.0.16
File Size Uploaded Provenance Actions
fastpluggy_memory_analyzer-0.0.16.tar.gz 28.1 kB Without provenance Details for fastpluggy_memory_analyzer-0.0.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fastpluggy-memory-analyzer 0.0.16
File Interpreter ABI Platform Actions
fastpluggy_memory_analyzer-0.0.16-py3-none-any.whl Python 3 none any Details for fastpluggy_memory_analyzer-0.0.16-py3-none-any.whl

Total release size: 56.0 kB

Release files / fastpluggy_memory_analyzer-0.0.16.tar.gz

Download URL fastpluggy_memory_analyzer-0.0.16.tar.gz
Size 28.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e3979e9de3e598b0f0c2cdd8ff7e6c1f046748355624bb84e78cd42f5ac39311
BLAKE2b-256 checksum
How to use checksums
bdcc5c807e338c7769df527667a368cd0883395b896ed66ec65ceece54858436
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / fastpluggy_memory_analyzer-0.0.16-py3-none-any.whl

Download URL fastpluggy_memory_analyzer-0.0.16-py3-none-any.whl
Size 27.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a714d665113b9e81a9b24b782264054a6711c805bd9b754e94716fe2dbca7bd9
BLAKE2b-256 checksum
How to use checksums
e0a9978dcd50f547b9e97c08d2517e52f26c4cf45205353b5c9c59265de88dee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Security for fastpluggy-memory-analyzer 0.0.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.

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.0.16 This release

2 release files 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