A plug-and-play performance monitoring tool for FastAPI with a real-time dashboard.
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
FastAPI Performance Monitor
A simple, plug-and-play performance monitoring tool for FastAPI applications
that provides real-time metrics and a dashboard with zero configuration.
→ Getting Started
Installation
pip install fastapi-performance-monitor
Usage
In your main application file, import and apply add_performance_monitor to your FastAPI app instance.
# main.py
from fastapi import FastAPI
from fastapi_performance_monitor import add_performance_monitor
app = FastAPI()
# Add this single line to enable the monitor
add_performance_monitor(app)
@app.get("/")
def read_root():
return {"message": "Hello World"}
→ Endpoints
Once your application is running, the following endpoints will be available:
- Dashboard:
http://localhost:8000/performance - Metrics:
http://localhost:8000/health/metrics
The dashboard provides a user-friendly interface to view the metrics, while the JSON endpoint allows for programmatic access, perfect for integrating with alerting or other monitoring systems.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastapi_performance_monitor-0.1.3.tar.gz.
File metadata
- Download URL: fastapi_performance_monitor-0.1.3.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08ab8d8cd3cdd472f0246a96c6d1e3213add62a37a06e0626c8bd726a92e473a
|
|
| MD5 |
079d545a9b1b229bbd7ae1c53b70ac3e
|
|
| BLAKE2b-256 |
ea182011656fd100997abf582d6eb51b26fe2324abda0bd9da0f11df76390120
|
Provenance
The following attestation bundles were made for fastapi_performance_monitor-0.1.3.tar.gz:
Publisher:
publish.yml on parhamdavari/fastapi-performance-monitor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastapi_performance_monitor-0.1.3.tar.gz -
Subject digest:
08ab8d8cd3cdd472f0246a96c6d1e3213add62a37a06e0626c8bd726a92e473a - Sigstore transparency entry: 314927992
- Sigstore integration time:
-
Permalink:
parhamdavari/fastapi-performance-monitor@fdff765873472333382e77912fba360c596ad390 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/parhamdavari
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fdff765873472333382e77912fba360c596ad390 -
Trigger Event:
release
-
Statement type:
File details
Details for the file fastapi_performance_monitor-0.1.3-py3-none-any.whl.
File metadata
- Download URL: fastapi_performance_monitor-0.1.3-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37d619c5577716c476427a5ec431e8f589229b635b8811cf7f89f2ab6347dbf9
|
|
| MD5 |
3fa1dd50cc407184659adcfc9a47683b
|
|
| BLAKE2b-256 |
ae51d044bea96755389140c4706625402572058cd0cd3dfddab87b7ba201e4eb
|
Provenance
The following attestation bundles were made for fastapi_performance_monitor-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on parhamdavari/fastapi-performance-monitor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastapi_performance_monitor-0.1.3-py3-none-any.whl -
Subject digest:
37d619c5577716c476427a5ec431e8f589229b635b8811cf7f89f2ab6347dbf9 - Sigstore transparency entry: 314927999
- Sigstore integration time:
-
Permalink:
parhamdavari/fastapi-performance-monitor@fdff765873472333382e77912fba360c596ad390 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/parhamdavari
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fdff765873472333382e77912fba360c596ad390 -
Trigger Event:
release
-
Statement type: