Skip to content

Latest commit

History

History
58 lines (43 loc) · 1.67 KB

File metadata and controls

58 lines (43 loc) · 1.67 KB

HowFast APM agent for Python

PyPICircleCIuptimeCoverage StatusPyPI - Python VersionPyPI - Downloads

This Python APM (Application Performance Monitoring) agent sends performance data to your HowFast account.

It only supports Flask for now.

Screenshot of HowFast APM

Usage

pip install howfast-apm[flask]

Then, follow the instructions detailed in the package page.

Develop

# Install dependencies, including the one needed to develop
poetry install -v -E flask
# To build a new version
poetry build
poetry publish

Test

# Lint the code
poetry run flake8 howfast_apm
# Running the tests
poetry run pytest
# Running the tests across a matrix of Python versions and Flask versions
pip install tox tox-pyenv
tox

Publish

# Replace "minor" by "patch" or "major" depending how you want to bump the version
poetry version minor
# Commit the changes
git add pyproject.toml && git commit -m "Bump version"# Build and publish
poetry publish --build