Skip to main content

Flask-Stats

This flask extension automatically provides paging timing and http status code statistics to statsd.

It will send page timings to <APP_NAME>.<BLUEPRINT>.<FUNCTION>, and status codes to <APP_NAME>.<BLUEPRINT>.<FUNCTION>.http_XXX, where XXX is the status code, i.e 403.

Installation

Install by installing it from the Python Package Index.

$ pip install Flask-Stats

Configuration

Flask-Stats uses the following configuration values.

STATS_HOSTNAME

Specifies the host to send statsd values to. Defaults to localhost.

STATS_PORT

Specified the port to send statsd values to. Defaults to 8125.

STATS_BASE_KEY

The base key to send the stats to. Defaults to the application name.

Changelog

1.0.0

  • No longer reports timing values for endpoints that don’t exist.

Todo

More functionality? What Would you like?

Metadata

Release files for Flask-Stats 1.0.1

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

Source distribution (sdist)

Source distribution for Flask-Stats 1.0.1
File Size Uploaded Provenance
Flask-Stats-1.0.1.tar.gz 13.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Flask-Stats 1.0.1
File Interpreter ABI Platform
Flask_Stats-1.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 17.1 kB

Release files / Flask-Stats-1.0.1.tar.gz

Download URL Flask-Stats-1.0.1.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
11992a980286c902fca5dc6e986b91290d7ec7786978a3d0162ab35b4d3ac68e
BLAKE2b-256 checksum
How to use checksums
106673f1d5f48f3c6e04340a3d367d82f422797e2c9b6ae7b8aecd840ba16ff0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / Flask_Stats-1.0.1-py2.py3-none-any.whl

Download URL Flask_Stats-1.0.1-py2.py3-none-any.whl
Size 4.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
60204d6eda71079c0ad9bc5cf26ecdf4dd4056202c311eb789beb9e439ff5b4c
BLAKE2b-256 checksum
How to use checksums
9daf9e9a9bcc8bc24da6e5962cd2e23e75788286318fd1f03ce03f32afce621f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Flask-Stats 1.0.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.

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